Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bambu-cli

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bambu-cli - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

15

bin/cli.js

@@ -10,3 +10,3 @@ #!/usr/bin/env node

.completion('completion', 'Generate completion script for your shell')
.usage('$0 <cmd> [args] [machine-id]\nex: $0 ls [machine-id]\nex: $0 files [machine-id]\nex: $0 status [machine-id]')
.usage('$0 <cmd> [machine-id/name] [args]\n ex: $0 ls\n ex: $0 files [machine-id]\n ex: $0 status [machine-id]')
.help('h')

@@ -36,2 +36,3 @@ .alias('h', 'help')

if (machine) {
machine = String(machine);
if (machines) {

@@ -42,4 +43,5 @@ let m;

if (_m[key].toLowerCase().indexOf(machine.toLowerCase()) > -1) {
if (m) {
if (!Array.isArray(m) && m) {
m = [m];
m.push(_m.id);
} else {

@@ -94,11 +96,2 @@ if (Array.isArray(m)) {

if (cmd === 'files') {
if (!args.id) {
console.error(`Please pass machine id`);
process.exit(1);
}
}
//console.log(cmd, machine, args);
if (!commands[cmd]) {

@@ -105,0 +98,0 @@ console.log(`Could not find command: ${cmd}`);

{
"name": "bambu-cli",
"version": "1.0.7",
"version": "1.0.8",
"description": "Bambulabs CLI for printers",

@@ -5,0 +5,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc