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
8268bbf700
Merge pull request #150 from resin-io/jviotti/upgrade/sdk
...
Upgrade Resin SDK to v2.4.0
2015-08-14 12:42:31 -04:00
Juan Cruz Viotti
0807b6a2d9
Upgrade Resin SDK to v2.4.0
...
This release fixes:
- Check if device exists before removing it "resin device rm <uuid>"
- https://github.com/resin-io/resin-cli/issues/123
- Check if app exists before removing it "resin app rm <appName>"
- https://github.com/resin-io/resin-cli/issues/114
- Command does not display correct output "resin key <id>"
- https://github.com/resin-io/resin-cli/issues/112
Since it includes the following PRs:
- https://github.com/resin-io/resin-sdk/pull/103
- https://github.com/resin-io/resin-sdk/pull/107
2015-08-14 12:17:59 -04:00
Juan Cruz Viotti
83382cc8f7
Merge pull request #145 from resin-io/jviotti/fix/logs-help-indentation
...
Fix logs command help string indentation
2015-08-14 08:27:38 -04:00
Juan Cruz Viotti
8401aaeae2
Merge pull request #149 from resin-io/jviotti/fix/111/email-validation
...
Validate that email address is valid during signup. Fix #111
2015-08-14 07:58:40 -04:00
Juan Cruz Viotti
abf5740950
Merge pull request #148 from resin-io/jviotti/fix/14/logs-history
...
Force logs command to exit when not in --tail mode. Fix #14 .
2015-08-14 07:58:05 -04:00
Juan Cruz Viotti
606777508d
Merge pull request #147 from resin-io/jviotti/cleanup/preferences
...
Remove preferences command
2015-08-14 07:57:14 -04:00
Juan Cruz Viotti
e9ec6c67b2
Validate that email address is valid during signup. Fix #111
...
For this we use a third party dependency from npm called `valid-email`
to avoid hardcoding and having to mantain a regular expression.
2015-08-13 15:22:22 -04:00
Juan Cruz Viotti
69566f7fc3
Force logs command to exit when not in --tail mode. Fix #14 .
...
PubNub keeps the process alive after a history query for some reason, so
trying to print the logs history like:
$ resin logs <uuid>
Will result in the logs being printed correctly, but the process waiting
infinitely without ending.
The workaround consists in forcing `process.exit` to exit the process
with an error code zero.
Caveats:
- This workaround prevents this command to be used programatically.
Issue: https://github.com/resin-io/resin-cli/issues/14
2015-08-13 15:08:16 -04:00
Juan Cruz Viotti
6e4b299c7d
Remove preferences command
2015-08-13 15:00:51 -04:00
Juan Cruz Viotti
ef35ebf79d
Fix logs command help string indentation
...
For some reason it was indented a few times unnecesarily.
2015-08-13 14:33:19 -04:00
Juan Cruz Viotti
2e8ec3ac64
Merge pull request #142 from resin-io/jviotti/cleanup/dependencies
...
Remove unused dependencies imports from various files
2015-08-13 13:51:22 -04:00
Juan Cruz Viotti
5408938007
Merge pull request #141 from resin-io/jviotti/cleanup/shell-completion
...
Remove command shell completion script
2015-08-13 13:08:08 -04:00
Juan Cruz Viotti
50cb04b6f7
Remove unused dependencies imports from various files
2015-08-13 13:04:22 -04:00
Juan Cruz Viotti
09fe4b11ad
Merge pull request #139 from resin-io/jviotti/feature/drive-widget
...
Use Visuals drive widget in device init
2015-08-13 12:35:41 -04:00
Juan Cruz Viotti
4157f21e06
Merge pull request #140 from resin-io/jviotti/cleanup/elevate
...
Remove outdated Windows elevation mechanism
2015-08-13 12:23:26 -04:00
Juan Cruz Viotti
4900230881
Remove command shell completion script
...
This feature is unused and doesn't provide much value.
In the future, we may include autocompletion support built in the CLI.
2015-08-13 12:21:55 -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
085781fa18
Upgrade Resin CLI Visuals to v1.1.0
...
This version contains the `drive` widget.
2015-08-13 11:55:31 -04:00
Juan Cruz Viotti
08ad8bd5d7
Merge pull request #137 from resin-io/cleanup/slim
...
Slim down unused functionality
2015-08-13 11:52:57 -04:00
Juan Cruz Viotti
3d36e5f5d3
Remove outdated Windows elevation mechanism
...
This functionality is outdated and not using anymore due to limitations
in the way it was addressed.
The module and dependencies are removed for now, and will be added back
in the future, once a better approach is planned.
2015-08-13 11:45:50 -04:00
Juan Cruz Viotti
57319f26a6
Slim down unused functionality
2015-08-12 08:17:46 -04:00
Juan Cruz Viotti
11033683fd
Stop supporting iojs
2015-08-06 12:12:44 -04:00
Juan Cruz Viotti
e5166c6c8e
Use Install-Product instead of Update-NodeJsInstallation
2015-08-06 11:46:57 -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
12145a2393
Merge pull request #132 from resin-io/upgrade_travis
...
Test node v0.12 and io.js
2015-08-05 07:03:51 -04:00
Juan Cruz Viotti
f379866c1c
Merge pull request #67 from resin-io/feature/wizard
...
Implement Quickstart command
2015-08-04 13:19:37 -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
d24b871964
Merge pull request #131 from resin-io/remove/selfupdate
...
Remove selfupdate functionality
2015-08-04 09:53:48 -04:00
Juan Cruz Viotti
bd0c4e6034
Merge pull request #133 from resin-io/upgrade_appveyor
...
Add io.js testing in Appveyor
2015-08-04 09:27:36 -04:00
mike
95637e5608
Test node v0.12 and io.js
2015-08-04 14:15:30 +03:00
mike
93b394ed76
Add io.js testing in Appveyor
2015-08-04 13:26:13 +03:00
Juan Cruz Viotti
b515e427ff
Merge pull request #129 from resin-io/issue_#73
...
Add email address to the returned information, when using whoami(). Fix #73 .
2015-08-03 16:14:47 -04:00
Juan Cruz Viotti
26b1acf5ef
Merge pull request #130 from resin-io/remove/man
...
Remove man pages
2015-08-03 16:14:23 -04:00
mike
f31eb7c2b5
Add email address to the returned information, when using whoami(). Fix #73 .
2015-08-03 21:24:22 +03: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
Juan Cruz Viotti
4211333e4e
Remove man pages
2015-08-03 12:08:49 -04:00
mike
f220e380a7
Merge pull request #125 from resin-io/issue_#117
...
Display correctly the newly-created application id. Fix #117
2015-07-29 21:43:31 +03:00
mike
9564b4e478
Display correctly the newly-created application id. Fix #117
2015-07-29 21:17:21 +03:00
mike
e2125b8ce9
Fix #73
2015-07-29 21:15:29 +03:00
Juan Cruz Viotti
0bb0e6ea4b
Merge pull request #124 from resin-io/integrate-new-resin-visuals-functionality
...
Integrate new resin-cli-visuals functionality
2015-07-29 09:43:24 -04:00
mike
cf512cc01b
Integrate new resin-cli-visuals functionality
2015-07-29 16:34:31 +03:00
Juan Cruz Viotti
fe3e68c3af
Merge pull request #121 from resin-io/modify-function-description
...
Replace device name with uuid, found in resin envs examples in enviroment-variables
2015-07-28 08:49:19 -04:00
mike
0bbfbe36c7
Replace device name with uuid, found in resin envs examples in enviroment-variables
2015-07-27 22:49:11 +03:00
Juan Cruz Viotti
d6ae689593
Merge pull request #118 from resin-io/resin-cli-form
...
Integrate resin-cli-form
2015-07-27 13:30:48 -04: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