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

mbl-cli

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mbl-cli - npm Package Compare versions

Comparing version 1.4.0 to 1.5.0

2

lib/commands/app/commands/restart.js

@@ -24,3 +24,3 @@ "use strict";

address: {
description: "address of the device"
description: "IP address of the device (IPv4 or IPv6)"
}

@@ -27,0 +27,0 @@ };

@@ -24,3 +24,3 @@ "use strict";

address: {
description: "address of the device"
description: "IP address of the device (IPv4 or IPv6)"
}

@@ -27,0 +27,0 @@ };

@@ -24,3 +24,3 @@ "use strict";

address: {
description: "address of the device"
description: "IP address of the device (IPv4 or IPv6)"
}

@@ -27,0 +27,0 @@ };

@@ -27,3 +27,3 @@ "use strict";

address: {
description: "address of the device"
description: "IP address of the device (IPv4 or IPv6)"
},

@@ -72,3 +72,6 @@ dest: {

})
.then(function () { return process.exit(); })
.then(function () {
util_1.log("File transfer succeeded");
process.exit();
})
.catch(function (error) {

@@ -75,0 +78,0 @@ if (error)

@@ -27,3 +27,3 @@ "use strict";

address: {
description: "address of the device"
description: "IP address of the device (IPv4 or IPv6)"
},

@@ -72,3 +72,6 @@ dest: {

})
.then(function () { return process.exit(); })
.then(function () {
util_1.log("File transfer succeeded");
process.exit();
})
.catch(function (error) {

@@ -75,0 +78,0 @@ if (error)

@@ -26,3 +26,3 @@ "use strict";

address: {
description: "address of the device"
description: "IP address of the device (IPv4 or IPv6)"
},

@@ -29,0 +29,0 @@ command: {

@@ -36,3 +36,3 @@ "use strict";

address: null,
name: "None",
name: "No device",
});

@@ -39,0 +39,0 @@ return chooser.choose(devices, function (device) { return device.address ? device.name + " (" + device.address + ")" : "" + device.name; }, "Select a device:")

@@ -26,3 +26,3 @@ "use strict";

address: {
description: "address of the device"
description: "IP address of the device (IPv4 or IPv6)"
}

@@ -29,0 +29,0 @@ };

@@ -27,2 +27,3 @@ "use strict";

yargs
.strict()
.usage("$0 <command> [arguments]")

@@ -36,2 +37,3 @@ .version().alias("v", "version")

.demandCommand(1, "")
.recommendCommands()
.epilogue("For more information about Mbed Linux OS, please visit http://mbed.com")

@@ -38,0 +40,0 @@ .argv;

@@ -41,5 +41,11 @@ "use strict";

if (index && index <= items.length) {
// tslint:disable-next-line:no-console
console.log(titleFn(items[index - 1]) + " selected");
process.stdin.setRawMode(false);
resolve(items[index - 1]);
}
else {
// tslint:disable-next-line:no-console
console.log("Invalid selection, please select a number between 1 and " + items.length);
}
}

@@ -46,0 +52,0 @@ });

{
"name": "mbl-cli",
"version": "1.4.0",
"version": "1.5.0",
"description": "Command-line interface for developing with Mbed Linux OS",

@@ -5,0 +5,0 @@ "homepage": "https://www.mbed.com",

@@ -52,3 +52,3 @@ # Mbed Linux OS CLI

Obtain a shell on a device, optionally specifying the device address to use
Obtain a shell on a device, optionally specifying the device IPv4/IPv6 address to use

@@ -61,3 +61,3 @@ ```

Run a remote command on a device, optionally specifying the device address to use
Run a remote command on a device, optionally specifying the device IPv4/IPv6 address to use

@@ -70,3 +70,3 @@ ```

Copy a file from a device, optionally specifying the device address to use
Copy a file from a device, optionally specifying the device IPv4/IPv6 address to use

@@ -79,3 +79,3 @@ ```

Copy a file to a device, optionally specifying the device address to use
Copy a file to a device, optionally specifying the device IPv4/IPv6 address to use

@@ -82,0 +82,0 @@ ```

@@ -26,3 +26,3 @@ /*

address: {
description: "address of the device"
description: "IP address of the device (IPv4 or IPv6)"
}

@@ -29,0 +29,0 @@ };

@@ -26,3 +26,3 @@ /*

address: {
description: "address of the device"
description: "IP address of the device (IPv4 or IPv6)"
}

@@ -29,0 +29,0 @@ };

@@ -26,3 +26,3 @@ /*

address: {
description: "address of the device"
description: "IP address of the device (IPv4 or IPv6)"
}

@@ -29,0 +29,0 @@ };

@@ -29,3 +29,3 @@ /*

address: {
description: "address of the device"
description: "IP address of the device (IPv4 or IPv6)"
},

@@ -81,3 +81,6 @@ dest: {

})
.then(() => process.exit())
.then(() => {
log("File transfer succeeded");
process.exit();
})
.catch(error => {

@@ -84,0 +87,0 @@ if (error) log(error);

@@ -29,3 +29,3 @@ /*

address: {
description: "address of the device"
description: "IP address of the device (IPv4 or IPv6)"
},

@@ -81,3 +81,6 @@ dest: {

})
.then(() => process.exit())
.then(() => {
log("File transfer succeeded");
process.exit();
})
.catch(error => {

@@ -84,0 +87,0 @@ if (error) log(error);

@@ -32,3 +32,3 @@ /*

address: {
description: "address of the device"
description: "IP address of the device (IPv4 or IPv6)"
},

@@ -35,0 +35,0 @@ command: {

@@ -39,3 +39,3 @@ /*

address: null,
name: "None",
name: "No device",
});

@@ -42,0 +42,0 @@

@@ -28,3 +28,3 @@ /*

address: {
description: "address of the device"
description: "IP address of the device (IPv4 or IPv6)"
}

@@ -31,0 +31,0 @@ };

@@ -29,2 +29,3 @@ /*

yargs
.strict()
.usage("$0 <command> [arguments]")

@@ -38,3 +39,4 @@ .version().alias("v", "version")

.demandCommand(1, "")
.recommendCommands()
.epilogue("For more information about Mbed Linux OS, please visit http://mbed.com")
.argv;

@@ -42,4 +42,9 @@ /*

if (index && index <= items.length) {
// tslint:disable-next-line:no-console
console.log(`${titleFn(items[index - 1])} selected`);
process.stdin.setRawMode(false);
resolve(items[index - 1]);
} else {
// tslint:disable-next-line:no-console
console.log(`Invalid selection, please select a number between 1 and ${items.length}`);
}

@@ -46,0 +51,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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