Tim Perry
da8483e6a6
Add a multicontainer caveat to the env var commands
...
Change-Type: patch
2018-06-01 12:37:29 +02:00
Tim Perry
37e4ec6364
Rename expectedError to exitWithExpectedError
2018-04-17 15:18:06 +02:00
Tim Perry
6a8b947c2e
Don't report lots of user input errors
...
Change-Type: patch
2018-04-17 15:18:06 +02:00
Thodoris Greasidis
d1c773360f
Fix uuid params being parsed a numbers
...
Connects-To: #489
Change-Type: patch
2018-02-01 17:48:01 +02:00
Eugene Mirotin
77a4c6fdc2
move available-drives command to util
2017-06-15 16:43:02 +03:00
Tim Perry
b629ee6164
Move to preconfigured resin sdk
2017-01-25 19:33:43 +01:00
Eugene Mirotin
f17cbb1205
use the new SDK factory
2017-01-25 19:25:12 +01:00
Juan Cruz Viotti
356d2ef6b2
Inject analytics in Capitano
2016-02-12 14:34:16 -04:00
Juan Cruz Viotti
fb1ef0df63
Promote shorter uuids in all examples
2016-01-21 10:23:40 -04:00
Juan Cruz Viotti
9cfce68489
Change license to Apache 2.0
2016-01-03 23:58:51 -04:00
Juan Cruz Viotti
210680c9c9
Lazy load command actions dependencies
...
In my system (MBPr 13), printing the current version takes over 2
seconds:
```sh
$ time ./bin/resin version
2.4.0
./bin/resin version 1.37s user 0.19s system 73% cpu 2.130 total
```
The CLI takes almost all of these time to parse the dependency tree
before returning control over the actually called command.
To mitigate this problem, we only require the NPM dependencies a command
requires when executing such command, and thus prevent dependencies from
being required and parsed unnecessary.
After this improvement, printing the original example (`resin version`)
returns in less than a second (2x improvement):
```sh
$ time ./bin/resin version
2.4.0
./bin/resin version 0.88s user 0.09s system 102% cpu 0.938 total
```
2015-12-07 11:48:54 -03:00
Juan Cruz Viotti
64c8420c9d
Implement device specs. Fix #99
...
Support for all devices. Tested in the following ones:
- Intel Edison.
- Raspberry Pi 2.
- Parallella.
2015-09-11 13:02:59 +03:00
Juan Cruz Viotti
4bdcd3d2ee
Merge pull request #180 from resin-io/issue_#103
...
Resin CLI Events integration. Fix #103
2015-09-05 20:11:52 +03:00
mike
b0650530cc
Resin CLI Events integration. Fix #103
2015-09-05 19:15:31 +03:00
mike
8c3e832cdc
Replace device name with uuid in env-variables command example
2015-09-01 00:56:01 +03:00
Juan Cruz Viotti
354921ca92
Add Aborted
error message when not accepting a confirmation
...
This prevents a lot of duplicate code to check for confirmation status
and exit from the current action.
2015-08-20 16:16:20 -04:00
mike
019e2ac357
Display msg when app/device does not have env variables. Fix #166
2015-08-18 18:12:08 +03:00
Juan Cruz Viotti
fd5a34a1c4
Refactor env action module to use promises
2015-08-17 10:32:22 -04:00
Juan Cruz Viotti
57319f26a6
Slim down unused functionality
2015-08-12 08:17:46 -04:00
mike
cf512cc01b
Integrate new resin-cli-visuals functionality
2015-07-29 16:34:31 +03:00
mike
0bbfbe36c7
Replace device name with uuid, found in resin envs examples in enviroment-variables
2015-07-27 22:49:11 +03:00
mike
5b5d1be52f
Integrate resin-cli-form
2015-07-27 19:50:47 +03:00
mike
64d83dccfb
Add promise support for Resin-SDK dependency
2015-07-24 00:24:17 +03:00
Juan Cruz Viotti
054d5e4879
Add per device environment variable support
2015-05-28 12:32:08 -04:00
Juan Cruz Viotti
6a83a537c7
Implement basic documentation generation mechanism
2015-03-03 11:32:24 -04:00
Juan Cruz Viotti
a275de436d
Make use of simplified table widget
2015-01-22 13:06:02 -04:00
Juan Cruz Viotti
50325d0f8f
Make use of resin-cli-visuals and get rid of local ui module
2015-01-21 09:50:19 -04:00
Juan Cruz Viotti
d49677581b
Make use of Capitano permissions feature
2015-01-16 09:34:59 -03:00
Juan Cruz Viotti
5abc4e550f
Move command declarations next to their definitions
2015-01-15 14:18:39 -03:00
Juan Cruz Viotti
a6282d2b28
Get rid of log module
...
Didn't provide that much value
2015-01-15 11:36:43 -03:00
Juan Cruz Viotti
3e055b32d2
Update Capitano to v1.2.0 and make use of done callback feature
2015-01-15 10:47:17 -03:00
Juan Cruz Viotti
05812ba442
Implement and make use of errors.handleCallback()
...
This function is introduced to remove some duplication
2015-01-09 12:22:18 -03:00
Juan Cruz Viotti
b5701f53f5
Make use of isSystemVariable from Resin SDK
2015-01-08 13:15:40 -03:00
Juan Cruz Viotti
d2b0772673
Remove duplication by relying on Capitano's new required option feature
2015-01-08 12:11:10 -03:00
Juan Cruz Viotti
12f46be691
Partially get rid of nested sdk
2015-01-08 09:39:38 -03:00
Juan Cruz Viotti
46ebb7b1fd
Move errors.handle() out of resin sdk
2014-12-22 12:47:12 -04:00
Juan Cruz Viotti
2351fa25a0
Move log out of resin sdk
2014-12-22 12:41:14 -04:00
Juan Cruz Viotti
eb34d957f3
Implement env rename command
2014-12-19 14:29:53 -04:00
Juan Cruz Viotti
de4c3c986e
Implement env add command
2014-12-19 14:07:53 -04:00
Juan Cruz Viotti
6cfe2bdc49
Make use of Capitano for command line parsing
2014-12-19 09:15:38 -04:00
Juan Cruz Viotti
25eedd22a0
Update docs
2014-12-08 10:13:01 -04:00
Juan Cruz Viotti
4b74ec7fc4
Move UI outside resin module
2014-12-05 12:00:15 -04:00
Juan Cruz Viotti
e7495fa72d
Move cli outside of resin module
2014-12-05 11:51:52 -04:00
Juan Cruz Viotti
594a358bef
Implement and make use of plugin loader (only in preferences for now)
2014-11-27 11:22:48 -04:00
Juan Cruz Viotti
5e3d973725
Implement command permissions
2014-11-27 10:06:11 -04:00
Juan Cruz Viotti
debc017ba3
Make environment variables model callback based
2014-11-26 14:11:11 -04:00
Juan Cruz Viotti
3db13f6329
Move patterns to resin/ui
2014-11-26 13:29:19 -04:00
Juan Cruz Viotti
67ade4bf12
Move widgets to resin/ui module
2014-11-26 13:26:01 -04:00
Juan Cruz Viotti
ce8b11004c
Move table to widget module
2014-11-26 13:20:56 -04:00
Juan Cruz Viotti
edcee1c9cf
Move log and errors to resin module
2014-11-26 12:38:02 -04:00