balena-cli/typings
Akis Kesoglou 5cbe1c410f Add join/leave commands to promote and move devices between platforms
Both commands work with local devices by remotely invoking the `os-config` executable via SSH. This requires an as of yet unreleased resinOS (that will most likely be v2.14) and the commands ascertain compatibility merely by looking for the `os-config` executable in the device, and bail out if it’s not present.

`join` and `leave` accept a couple of optional arguments and implement a wizard-style interface if these are not given. They allow to interactively select the device and the application to promote to. If the user has no apps, `join` will offer the user to create one. `join` will also offer the user to login or create an account if they’re not logged in already without exiting the wizard.

`resin-sync` (that's used internally to discover local devices) requires admin privileges. If no device has been specified as an argument, the commands will launch the device scanning process in a privileged subprocess via two new internal commands: `internal sudo` and `internal scanDevices`. This avoids having the user to invoke the commands with sudo and only request escalation if truly needed. This commit also removes the dependency to “president”, implementing “sudo” functionality within the CLI.

Change-Type: minor
2018-07-19 22:18:02 +03:00
..
@resin-valid-email.d.ts Start on some easy TS conversion 2018-01-09 17:14:48 +01:00
capitano.d.ts Add join/leave commands to promote and move devices between platforms 2018-07-19 22:18:02 +03:00
ent.d.ts Add typings for 'ent' 2018-02-07 11:20:08 +01:00
JSONStream.d.ts Add push command which starts a build on remote resin servers 2018-05-10 11:43:45 +01:00
mixpanel.d.ts Convert most of utils to TypeScript 2018-01-09 17:14:48 +01:00
nplugm.d.ts Convert most of utils to TypeScript 2018-01-09 17:14:48 +01:00
package.json.d.ts Convert most of utils to TypeScript 2018-01-09 17:14:48 +01:00
president.d.ts Start using Prettier 2018-01-10 09:23:00 +01:00
resin-cli-form.d.ts Start on some easy TS conversion 2018-01-09 17:14:48 +01:00
resin-cli-visuals.d.ts Start on some easy TS conversion 2018-01-09 17:14:48 +01:00
resin-device-config.d.ts Convert most of utils to TypeScript 2018-01-09 17:14:48 +01:00
resin-device-init.d.ts Start using Prettier 2018-01-10 09:23:00 +01:00
resin-image-fs.d.ts Update resin-image-fs to stop non-config commands failing in node 10 2018-04-30 11:14:39 +02:00
resin-sdk-preconfigured.d.ts Fix some formatting to make prettier+resin-lint happy 2018-03-07 16:16:07 +01:00
resin-sync.d.ts Lint TypeScript and CoffeeScript with resin-lint 2018-01-09 17:14:49 +01:00
rindle.d.ts Lint TypeScript and CoffeeScript with resin-lint 2018-01-09 17:14:49 +01:00
update-notifier.d.ts Start using Prettier 2018-01-10 09:23:00 +01:00