Commit Graph

188 Commits

Author SHA1 Message Date
Juan Cruz Viotti
ff9558ab32 Simplify plugin loading routing with getPluginsByGlob() 2015-01-23 11:16:31 -04:00
Juan Cruz Viotti
af9ae6579c Move plugin module to nplugm 2015-01-23 10:23:47 -04:00
Juan Cruz Viotti
2c90d1176c Reorder device init declaration to prevent help conflicts 2015-01-20 15:52:13 -04:00
Juan Cruz Viotti
aa4d7a408a Implement device init command (for UNIX only) 2015-01-20 15:34:47 -04:00
Juan Cruz Viotti
af7a40bd68 Easy shortcut for one command plugins 2015-01-16 10:41:22 -03:00
Juan Cruz Viotti
a6660ad4ec Improve plugin architecture importing technique 2015-01-16 10:38:19 -03: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
9a3b048b9f Move help facade to help actions module 2015-01-15 11:18:34 -03:00
Juan Cruz Viotti
72d08ffbbf Move version action to actions/ 2015-01-15 11:16:07 -03:00
Juan Cruz Viotti
c4da5f0008 Remove obsolete comment 2015-01-15 11:11:10 -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
2a8f1f1dc2 Implement plugin support 2015-01-14 15:42:05 -03:00
Juan Cruz Viotti
bf7430d7fd Move logs logic to a nested logs module 2015-01-09 09:42:46 -03:00
Juan Cruz Viotti
5ec4abc710 Make deviceOption required 2015-01-08 13:30:15 -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
af8d1e4517 Implement devices supported command 2014-12-24 12:50:30 -04:00
Juan Cruz Viotti
14f047da53 Remove obsolete comment 2014-12-24 12:44:19 -04:00
Juan Cruz Viotti
3f9270cbb9 Implement note command 2014-12-24 12:40:40 -04:00
Juan Cruz Viotti
16ddd8ccb6 Implement interactive signup form 2014-12-24 11:14:30 -04:00
Juan Cruz Viotti
aefb809c11 Disable colour highlighting 2014-12-23 09:21:11 -04:00
Juan Cruz Viotti
4ad7fd0132 Make devices command application option based 2014-12-23 08:54:15 -04:00
Juan Cruz Viotti
da099e876d Use internal errors module in app.coffee 2014-12-22 15:28:11 -04:00
Juan Cruz Viotti
46ebb7b1fd Move errors.handle() out of resin sdk 2014-12-22 12:47:12 -04:00
Juan Cruz Viotti
5ae3077df9 Implement example clone command 2014-12-22 12:20:08 -04:00
Juan Cruz Viotti
082382d244 Implement examples and example <id> commands 2014-12-22 12:00:01 -04:00
Juan Cruz Viotti
893d836937 Implement stdin support for key add command 2014-12-22 10:30:21 -04:00
Juan Cruz Viotti
a8678f419b Implement "project" global option 2014-12-22 10:08:12 -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
006f3e8aca Implement key add command 2014-12-19 13:06:58 -04:00
Juan Cruz Viotti
ff152c987d Implement device rename command 2014-12-19 10:05:54 -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
b30b41d4bb Enable auth whoami command 2014-12-12 10:25:32 -04:00
Juan Cruz Viotti
001d7be622 Implement app init command 2014-12-11 11:37:16 -04:00
Juan Cruz Viotti
95e3e7b8b7 Remove plugin-loader as we need to rethink the whole thing to make it Windows compatible 2014-12-09 14:35:41 -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
2b5d95af3a Support --output option 2014-12-02 11:53:34 -04:00
Juan Cruz Viotti
ccf92411fe Implemence pace based os download 2014-12-02 11:08:22 -04:00
Juan Cruz Viotti
34e93ebe60 Add os download related options 2014-12-01 11:40:58 -04:00
Juan Cruz Viotti
8f13e9bf44 Implement log tail option 2014-11-28 20:51:08 -04:00
Juan Cruz Viotti
25af7a2231 Implement logs -n/--num 2014-11-28 20:18:59 -04:00
Juan Cruz Viotti
721ef8413a Implement logs command 2014-11-28 15:11:15 -04:00
Juan Cruz Viotti
26f037d3c7 Don't use plugin loader for built in functionality 2014-11-27 11:26:59 -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
507ff16050 Option based addOption/addCommand/addResource 2014-11-27 09:28:24 -04:00
Juan Cruz Viotti
a5791d080f Implement CLI addResource 2014-11-27 09:10:51 -04:00
Juan Cruz Viotti
86ecf5b1b6 Namespace actions with an actions object 2014-11-26 15:11:34 -04:00
Juan Cruz Viotti
7f01cae064 Implement resin/cli and decouple app.coffee from commander 2014-11-26 15:07:40 -04:00
Juan Cruz Viotti
5b470f1a0a Use resin.errors.handle in app.coffee 2014-11-26 14:17:26 -04:00
Juan Cruz Viotti
9529e6c335 Move config to resin module 2014-11-26 13:42:05 -04:00
Juan Cruz Viotti
64cb1520f6 Move data to resin module 2014-11-26 12:56:52 -04:00
Juan Cruz Viotti
edcee1c9cf Move log and errors to resin module 2014-11-26 12:38:02 -04:00
Juan Cruz Viotti
b9d5b0fd59 Implement env:rm command 2014-11-24 13:00:36 -04:00
Juan Cruz Viotti
7988b0cbbe Allow increasing verbosity for envs command 2014-11-24 12:43:37 -04:00
Juan Cruz Viotti
a8a78f0749 Implement envs command 2014-11-24 12:12:12 -04:00
Juan Cruz Viotti
f0e25589cd Add non interactive support for app:create 2014-11-24 10:56:03 -04:00
Juan Cruz Viotti
f4ad73d2f8 Implement app:create command (interacitivy only for now) 2014-11-24 10:46:33 -04:00
Juan Cruz Viotti
f56cd8162c Implement device:identify command 2014-11-21 14:21:47 -04:00
Juan Cruz Viotti
29054bedf1 Implement key:rm command 2014-11-21 13:56:11 -04:00
Juan Cruz Viotti
832cbf89ff Implement device rm command 2014-11-21 13:23:29 -04:00
Juan Cruz Viotti
a853c0418a Add -q|--quiet global option 2014-11-21 12:20:37 -04:00
Juan Cruz Viotti
d46cf4aced Make use of new log module everywhere 2014-11-21 11:40:37 -04:00
Juan Cruz Viotti
fed63fd178 Omit confirmation interactivity with -y/--yes 2014-11-21 10:44:48 -04:00
Juan Cruz Viotti
37c68118db Implement app rm command 2014-11-21 09:43:03 -04:00
Juan Cruz Viotti
1c1e8b375e Use packageJSON directly instead of creating version action 2014-11-21 09:30:29 -04:00
Juan Cruz Viotti
b53bc060a3 Revert back to commander 2014-11-21 09:23:02 -04:00
Juan Cruz Viotti
4b20ba435d Implement key info command 2014-11-20 14:00:39 -04:00
Juan Cruz Viotti
c4bb275923 Implement key list command 2014-11-20 13:03:23 -04:00
Juan Cruz Viotti
574d612624 Implement app restart command 2014-11-20 12:24:39 -04:00
Juan Cruz Viotti
e1a63fb548 Implement version module 2014-11-20 12:13:59 -04:00
Juan Cruz Viotti
91567cb5c7 Make run() print help if no matches 2014-11-20 12:05:50 -04:00
Juan Cruz Viotti
14459e1d09 Re enable all commands with new Yargs Command plugin 2014-11-20 11:57:53 -04:00
Juan Cruz Viotti
55fa8435bb Implement devices command 2014-11-19 13:38:15 -04:00
Juan Cruz Viotti
77d84103f6 Implement app info action 2014-11-19 09:23:40 -04:00
Juan Cruz Viotti
47a1e16dab Implement preferences module 2014-11-19 08:59:17 -04:00
Juan Cruz Viotti
5109bba302 Move TODO to a better place 2014-11-18 12:20:37 -04:00
Juan Cruz Viotti
24f50fa5ec Add optional interactivity to login command 2014-11-18 12:15:40 -04:00
Juan Cruz Viotti
d671832b5a Implement logout command 2014-11-18 11:48:05 -04:00
Juan Cruz Viotti
c41b28d4f0 Organise action requires close to their use in app.coffee 2014-11-18 11:40:12 -04:00
Juan Cruz Viotti
5c53829812 Implement signup command 2014-11-18 11:37:29 -04:00
Juan Cruz Viotti
d0cc3e54ad Create actions submodule to clean app a bit 2014-11-18 08:41:13 -04:00
Juan Cruz Viotti
2b8313da74 Rename interface as simply app.coffee 2014-11-18 08:35:50 -04:00