Juan Cruz Viotti
30f24333c0
Implement a spinner when awaiting for a device. Fix #107
...
Fixes:
- https://github.com/resin-io/resin-cli/issues/107
2015-08-14 14:35:38 -04:00
Juan Cruz Viotti
8c9a0e0ff1
Fix broken device await command
...
There were two issues that prevented this command from working
correctly:
1- `Promise.delay()` is used, but `Promise` was not imported.
2- The following line had incorrect indentation (spaces instead of
tabs):
poll().nodeify(done)
Therefore CoffeeScript interpreted that the line had to be executed at
the end of the `poll()` function, causing `poll()` to never be called.
2015-08-14 14:11:49 -04:00
Juan Cruz Viotti
50cb04b6f7
Remove unused dependencies imports from various files
2015-08-13 13:04:22 -04:00
Juan Cruz Viotti
e60c0605e5
Use Visuals drive widget in device init
...
- Replace custom `drivelist` logic in "device init" with the new `drive`
widget.
2015-08-13 11:56:16 -04:00
Juan Cruz Viotti
57319f26a6
Slim down unused functionality
2015-08-12 08:17:46 -04:00
Juan Cruz Viotti
dc030f4cd1
Implement Quickstart command
2015-08-04 20:16:55 +03:00
mike
cf512cc01b
Integrate new resin-cli-visuals functionality
2015-07-29 16:34:31 +03:00
mike
5b5d1be52f
Integrate resin-cli-form
2015-07-27 19:50:47 +03:00
Juan Cruz Viotti
cb808869dd
Merge pull request #110 from resin-io/support_promises
...
Add promise support for Resin-SDK dependency
2015-07-24 08:02:40 -04:00
mike
64d83dccfb
Add promise support for Resin-SDK dependency
2015-07-24 00:24:17 +03:00
Juan Cruz Viotti
1d53db2854
Add registered_at UNIX epoch
2015-07-23 12:47:49 -04:00
mike
46fa4ee2a2
Upgrade Resin VCS dependencies
2015-07-11 00:03:20 +03:00
Juan Cruz Viotti
9d4ac46985
Default device.last_seen to 'Not seen'. Closes #84 .
2015-07-09 09:56:39 -04:00
Juan Cruz Viotti
8fa906dd48
Upgrade Resin CLI Visuals and use it's new capabilities
2015-06-11 12:46:56 -04:00
Juan Cruz Viotti
43f0288c6c
Check that the passed application exists before asking to choose device
2015-06-08 12:31:17 -04:00
Juan Cruz Viotti
2bfeb7f42c
Associate a device before first boot
2015-06-04 10:10:15 -04:00
Juan Cruz Viotti
fdd0e4a966
Implement config injection
2015-06-04 08:06:37 -04:00
Juan Cruz Viotti
db58e9986c
Return devices array to the done callback in device list command
...
Useful when using the CLI programatically.
2015-05-14 11:43:41 -03:00
Juan Cruz Viotti
741acfbba3
Merge pull request #41 from resin-io/feature/command-run
...
Make use of capitano.run() to run subcommands
2015-05-08 14:23:37 -03:00
Juan Cruz Viotti
4c5d5697bc
Implement device await command
2015-05-06 11:14:08 -03:00
Juan Cruz Viotti
c758a5b9ea
Make use of capitano.run() to run subcommands
2015-05-05 17:34:24 -03:00
Juan Cruz Viotti
9bb51d7146
Make devices command list all devices if no application option. Closes #17
2015-04-27 11:21:30 -04:00
Juan Cruz Viotti
3bc71577b5
Fix temporary os download output option in device init
2015-04-21 08:37:40 -04:00
Juan Cruz Viotti
7bd8922a4e
Upgrade Resin VCS to v1.2.0 and make use of vcs.getApplicationName()
2015-04-20 11:41:26 -04:00
Juan Cruz Viotti
f7256e9927
Make device init command take an application name instead of id
2015-04-20 09:13:15 -04:00
Juan Cruz Viotti
a14dfa6cf1
Fix long line lint warning
2015-03-23 18:32:28 -04:00
Juan Cruz Viotti
f3b6f9d117
Add missing example to device init
2015-03-23 08:25:45 -04:00
Juan Cruz Viotti
df9c4ce2fd
Reference applications and devices by name
2015-03-23 08:17:55 -04:00
Juan Cruz Viotti
80e0f20301
Make device init attempt to get application id from current directory
2015-03-12 12:03:59 -04:00
Juan Cruz Viotti
53197856ab
Extend device init help message
2015-03-11 09:05:20 -04:00
Juan Cruz Viotti
6ba97cd961
Automate resin init command
2015-03-09 09:14:39 -04:00
Juan Cruz Viotti
6a83a537c7
Implement basic documentation generation mechanism
2015-03-03 11:32:24 -04:00
Juan Cruz Viotti
a6a3eeae6d
Make use of resin.models.device.getSupportedDeviceTypes() asynchronously
2015-02-11 09:53:48 -04:00
Juan Cruz Viotti
3005a91658
Write device init help page
2015-02-05 09:56:22 -04:00
Juan Cruz Viotti
e6081238a1
Implement new device init command
2015-02-04 15:17:51 -04:00
Juan Cruz Viotti
9f4ae4ac3f
Rename current device init to os download
2015-02-04 15:17:50 -04:00
Juan Cruz Viotti
6ce0fdc4ab
Make use of diskio
2015-02-02 12:25:22 -04:00
Juan Cruz Viotti
c7c7d55338
Allow to choose a device interactively from device init
2015-01-30 12:55:56 -04:00
Juan Cruz Viotti
7beca02eda
Mention drives command in device init help
2015-01-30 09:58:54 -04:00
Juan Cruz Viotti
03c6c72df6
Integrate new progress bar
2015-01-29 14:59:57 -04:00
Juan Cruz Viotti
2d5549873a
Prettier progress bar
2015-01-29 14:06:38 -04:00
Juan Cruz Viotti
35633f3612
Math.floor() percentage
2015-01-29 14:05:10 -04:00
Juan Cruz Viotti
2b992ec233
Simple progress bar approach
2015-01-29 14:01:21 -04:00
Juan Cruz Viotti
3e938f7808
Remove done message at the end of windosu execution
2015-01-29 12:29:35 -04:00
Juan Cruz Viotti
38139ed169
Simplify conditional
2015-01-29 12:27:37 -04:00
Juan Cruz Viotti
f767f637f7
Fix conditional
2015-01-29 12:23:30 -04:00
Juan Cruz Viotti
8437757ca8
Prevent infinite loop
2015-01-29 12:21:56 -04:00
Juan Cruz Viotti
9069b07d4a
Integrate windosu
2015-01-29 12:04:48 -04:00
Juan Cruz Viotti
db3d4292f4
Add Windows support to device init command
2015-01-28 08:33:50 -04:00
Juan Cruz Viotti
155a6775e4
Make use of device_type directly
2015-01-22 13:20:20 -04:00