balena-cli/build/utils
Juan Cruz Viotti 4a05ce3f53 Attempt to infer the device uuid in resin sync
This PR adds functionality to `resin sync` to try to infer what the
device uuid is as follows:

- If the argument to `resin sync` is an app, get all the devices from
that application. If there is only one, auto-select it, otherwise show
an interactive drive selection widget.

- If the argument to `resin sync` is a uuid, use it directly, without
trying to infer anything.

- If no argument is passed to `resin sync`, display an interactive
selection widget showing all your devices from all your applications.

Signed-off-by: Juan Cruz Viotti <jviottidc@gmail.com>
2016-04-25 08:57:19 -04:00
..
helpers.js Build CoffeeScript files with LICENSE additions 2016-01-11 15:58:35 -04:00
messages.js Reuse messages 2016-01-12 10:45:32 -04:00
patterns.js Attempt to infer the device uuid in resin sync 2016-04-25 08:57:19 -04:00
plugins.js Build CoffeeScript files with LICENSE additions 2016-01-11 15:58:35 -04:00
update.js Force update alert to be always shown 2016-03-08 09:23:03 -04:00
validation.js Build CoffeeScript files with LICENSE additions 2016-01-11 15:58:35 -04:00