Juan Cruz Viotti
7f4863da86
Upgrade Nplugm to v3.0.0
...
This new version supports promises and contains speed improvements.
2015-08-19 11:27:28 -04:00
Juan Cruz Viotti
a803d4f646
Remove plugins manipulation commands
...
Since we're now forcing users to rely on `npm` directly for updates, we
can also get rid of plugin commands that attempt to
install/update/remove using npm programatically and require users to use
`npm` directly as well.
This commit removes the following commands:
- `plugins`
- `plugin install`
- `plugin update`
- `plugin remove`
Despite plugin related commands being removed, *the functionality that
scans for plugins and registers them remains intact*.
2015-08-19 10:57:42 -04:00
Juan Cruz Viotti
f19588032f
Notify the user if there is an available update
...
For this we use the `update-notifier` module with its default settings.
This module will print a nice banner prompting the user to run the
corresponding npm command to update.
2015-08-18 08:53:06 -04:00
Juan Cruz Viotti
a698b25fda
Remove devices supported
command
...
The command is not necessary and unused.
2015-08-17 10:05:36 -04:00
Juan Cruz Viotti
6e4b299c7d
Remove preferences command
2015-08-13 15:00:51 -04:00
Juan Cruz Viotti
57319f26a6
Slim down unused functionality
2015-08-12 08:17:46 -04:00
Juan Cruz Viotti
5c96663d1e
Merge pull request #134 from resin-io/remove/drive-command
...
Remove drive command
2015-08-05 12:24:25 -04:00
Juan Cruz Viotti
ffb48c8669
Merge pull request #135 from resin-io/remove/examples-commands
...
Remove examples commands
2015-08-05 07:04:03 -04:00
Juan Cruz Viotti
dc030f4cd1
Implement Quickstart command
2015-08-04 20:16:55 +03:00
Juan Cruz Viotti
b726a2d778
Remove examples commands
2015-08-04 10:00:09 -04:00
Juan Cruz Viotti
a715ec9dc1
Remove drive command
2015-08-04 09:57:59 -04:00
Juan Cruz Viotti
d423a6ea24
Remove selfupdate functionality
...
We added this because we thought that knowledge of the supported device types, along with the configuration procedures was going to be encoded in the CLI.
With device specs, this is not longer the case.
2015-08-03 12:20:42 -04:00
mike
64d83dccfb
Add promise support for Resin-SDK dependency
2015-07-24 00:24:17 +03:00
Juan Cruz Viotti
7e5ecd634d
HOTFIX: isLoggedIn now returns a possible error
2015-06-11 12:40:49 -04:00
Juan Cruz Viotti
ef33156de7
Implement config command
2015-06-10 12:34:42 -04:00
Juan Cruz Viotti
bab90a8bf2
Merge pull request #65 from resin-io/fix/app-rm-help
...
Fix app commands order of definition. Closes #62 .
2015-06-08 12:44:57 -04:00
Juan Cruz Viotti
5e400ed335
Fix app commands order of definition. Closes #62 .
...
This caused `resin help app rm` erroneusly show the help page for `resin app`.
2015-06-04 11:54:15 -04:00
Juan Cruz Viotti
fdd0e4a966
Implement config injection
2015-06-04 08:06:37 -04:00
Juan Cruz Viotti
e18ffba183
Quiet console.info if stdout is being redirected
...
We use `console.info()` for feedback messages.
2015-06-02 12:36:17 -04:00
Juan Cruz Viotti
c2bbb952c5
Fix device await help not showing up
2015-05-27 15:14:36 -04:00
Juan Cruz Viotti
78af9bbb10
Expose logs as cli.actions.logs instead of cli.actions.logs.logs
2015-05-18 09:37:27 -04:00
Juan Cruz Viotti
4c5d5697bc
Implement device await command
2015-05-06 11:14:08 -03:00
Juan Cruz Viotti
7f7ca13001
Implement --version/-v global options. Closes #35
2015-04-30 11:56:15 -04:00
Juan Cruz Viotti
a524bffaa2
Integrate with SDK v1.0.0
2015-03-19 11:45:07 -04:00
Juan Cruz Viotti
6ba97cd961
Automate resin init command
2015-03-09 09:14:39 -04:00
Juan Cruz Viotti
06020c0344
Implement self update functionality and notification
2015-03-04 14:40:40 -04:00
Juan Cruz Viotti
9038b76d73
Implement resin update command
2015-03-04 14:03:08 -04:00
Juan Cruz Viotti
572fe29fe6
Implement plugin update command
2015-03-02 10:41:08 -04:00
Juan Cruz Viotti
91a2453ebb
Make use of new nplug version
2015-02-24 13:36:10 -04:00
Juan Cruz Viotti
3445388db3
Implement plugin rm command
2015-02-12 12:50:40 -04:00
Juan Cruz Viotti
82ac558d7f
Implement plugin install command
2015-02-12 12:23:01 -04:00
Juan Cruz Viotti
74b1092e9a
Implement plugins command
2015-02-12 09:41:25 -04:00
Juan Cruz Viotti
6739b7fbca
Make use of async in app.coffee
2015-02-10 11:55:30 -04:00
Juan Cruz Viotti
8d99526a96
Refactor plugins logic into a new file
2015-02-10 11:46:22 -04:00
Juan Cruz Viotti
f712064ab4
Move tests to tests/ and flatten errors/ module directory
2015-02-10 11:38:19 -04:00
Juan Cruz Viotti
8275275a05
Make login command accept options instead of colon separated credentials
...
For consistency
2015-02-09 11:48:13 -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
fd1e632b50
List drives in OS X
2015-01-30 08:45:38 -04:00
Juan Cruz Viotti
4103a4195a
Move changeProjectDirectory outside the nested code
2015-01-23 13:54:30 -04:00
Juan Cruz Viotti
ff0b513188
Make use of nplugm.load
2015-01-23 13:24:57 -04:00
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