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
Juan Cruz Viotti
09a5788902
Refactor keys action to use promises
2015-08-17 09:32:05 -04:00
Juan Cruz Viotti
e712e2f266
Print ssh key separately from the information table
...
Since the public key string is long, it might wrap to lines below,
causing the table layout to break.
A quick solutio is to print the ssh key after the table.
Fixes:
- https://github.com/resin-io/resin-cli/issues/151
2015-08-14 12:25:55 -04:00
Juan Cruz Viotti
50cb04b6f7
Remove unused dependencies imports from various files
2015-08-13 13:04:22 -04: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
mike
64d83dccfb
Add promise support for Resin-SDK dependency
2015-07-24 00:24:17 +03:00
Juan Cruz Viotti
29cf4c1e89
Don't chop SSH key
2015-06-11 08:08:45 -04:00
Juan Cruz Viotti
a524bffaa2
Integrate with SDK v1.0.0
2015-03-19 11:45:07 -04:00
Juan Cruz Viotti
6a83a537c7
Implement basic documentation generation mechanism
2015-03-03 11:32:24 -04:00
Juan Cruz Viotti
65fbe12f22
Make use of new Capitano stdin support to get rid of helpers/
2015-02-10 11:32:06 -04:00
Juan Cruz Viotti
d2f319c725
Move chop functionality to Resin CLI Visuals
2015-02-06 11:22:11 -04:00
Juan Cruz Viotti
0a7b83308a
Add TODO on actions/keys about extracting ssh key chop
2015-02-04 15:17:51 -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
cdeaab18c8
Remove key trimming logic as it was moved to the SDK
2015-01-09 12:54:35 -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
12f46be691
Partially get rid of nested sdk
2015-01-08 09:39:38 -03:00
Juan Cruz Viotti
07c57d335b
Refactor table to get rid of map feature
2015-01-06 14:12:11 -03:00
Juan Cruz Viotti
af98a89e51
Make errors.handle handle EISDIR and ENOENT
2015-01-06 13:54:40 -03:00
Juan Cruz Viotti
e9caca8c24
Rename error code to error exit code
2015-01-06 13:46:31 -03:00
Juan Cruz Viotti
45a4f8eda0
Remove unnecessary object keys deletion
2015-01-06 13:15:40 -03:00
Juan Cruz Viotti
0746723abd
Decouple client code from resin.errors
2014-12-22 15:29:15 -04:00
Juan Cruz Viotti
212c06e5a2
Decouple client code from server by creating key model
2014-12-22 15:18:47 -04: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
893d836937
Implement stdin support for key add command
2014-12-22 10:30:21 -04:00
Juan Cruz Viotti
006f3e8aca
Implement key add command
2014-12-19 13:06:58 -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
37797f3416
Get rid of formatLongString in favor of _.chop
2014-12-09 14:35:45 -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
0c55a4afb6
Integrate CliConf with application
2014-12-05 11:09:31 -04:00
Juan Cruz Viotti
511e753256
Support user defined configuration file
2014-12-03 12:03:54 -04:00
Juan Cruz Viotti
d3eac45955
Move all urls to config
2014-12-01 10:06:03 -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
9529e6c335
Move config to resin module
2014-11-26 13:42:05 -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
Juan Cruz Viotti
8b81fbdbbd
Move models to resin
2014-11-26 12:15:40 -04:00
Juan Cruz Viotti
698ddd168c
Move server to resin module
2014-11-26 12:07:10 -04:00
Juan Cruz Viotti
927b7bc0eb
Make use of errors.NotFound
2014-11-24 14:48:16 -04:00
Juan Cruz Viotti
5549a2bd9e
Make use of errors.handle() everywhere
2014-11-24 14:08:58 -04:00