balena-cli/lib/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.coffee Change license to Apache 2.0 2016-01-03 23:58:51 -04:00
messages.coffee Reuse messages 2016-01-12 10:45:32 -04:00
patterns.coffee Attempt to infer the device uuid in resin sync 2016-04-25 08:57:19 -04:00
plugins.coffee Change license to Apache 2.0 2016-01-03 23:58:51 -04:00
update.coffee Force update alert to be always shown 2016-03-08 09:23:03 -04:00
validation.coffee Change license to Apache 2.0 2016-01-03 23:58:51 -04:00