Juan Cruz Viotti
f6897ad41f
Merge pull request #298 from resin-io/upgrade/sdk
...
Upgrade Resin SDK to v5.0.1
2016-01-21 10:14:56 -04:00
Juan Cruz Viotti
69e031da28
Upgrade Resin SDK to v5.0.1
...
This breaking change doesn't affect the CLI in any way, so we can
upgrade directly.
2016-01-21 10:13:15 -04:00
Juan Cruz Viotti
c61a7ef94a
Merge pull request #296 from resin-io/ci/notifications
...
Improve Travis and Appveyor notifications
2016-01-18 11:32:48 -04:00
Juan Cruz Viotti
65bc22c02c
Merge pull request #295 from resin-io/fix/delete-device-resource-on-errors
...
Remove registered device resource in case of errors in quickstart
2016-01-14 10:58:18 -04:00
Juan Cruz Viotti
1d55ea4dcf
Improve Travis and Appveyor notifications
2016-01-14 10:49:11 -04:00
Juan Cruz Viotti
add30b33a1
Remove registered device resource in case of errors in quickstart
...
A device resource needs to be registered with the API before being able
to create the `config.json` file that goes in a device.
This means thats the device image is configured and written to an
external drive (e.g: SDCard) *after* the device resource registered.
If any of the above operations fail, there will be an unitialized orphan
device living in the selected application that the user will have to
remove himself.
2016-01-14 09:14:45 -04:00
Juan Cruz Viotti
999120e711
Merge pull request #293 from resin-io/doc/faq
...
Improve FAQ
2016-01-13 09:34:22 -04:00
Juan Cruz Viotti
67ce0f7f2d
Merge pull request #294 from resin-io/feat/login-register
...
Redirect users to signup from login if they don't have an account
2016-01-13 09:34:16 -04:00
Juan Cruz Viotti
4645ad06bc
Redirect users to signup from login if they don't have an account
2016-01-13 00:25:31 -04:00
Juan Cruz Viotti
612437ae58
Improvee FAQ with more frequent questions
2016-01-13 00:20:18 -04:00
Juan Cruz Viotti
35a821b904
Improve FAQ staging resin url title
2016-01-13 00:13:07 -04:00
Juan Cruz Viotti
e4359834d6
Rename README documentation section to FAQ
2016-01-13 00:12:04 -04:00
Juan Cruz Viotti
ef7e39450c
Merge pull request #292 from resin-io/feat/ux-improvements
...
UX CLI improvements
2016-01-12 14:28:47 -04:00
Juan Cruz Viotti
c3a5998d5c
Reuse messages
2016-01-12 10:45:32 -04:00
Juan Cruz Viotti
78ab2af8ba
Print verbose help in resin help command
2016-01-12 10:39:29 -04:00
Juan Cruz Viotti
11354de596
Print an informative message after successful login
2016-01-12 10:30:56 -04:00
Juan Cruz Viotti
86cac606e4
Add Resin.io ASCII art in login
2016-01-12 10:23:46 -04:00
Juan Cruz Viotti
9b052c9aa5
Handle authentication in quickstart
...
If the user is not logged in, make quickstart prompt for authentication
automatically.
2016-01-12 10:12:44 -04:00
Juan Cruz Viotti
8d709aea7d
Implement purely interactive login command
...
The new login command interactively asks the user if he wants to login
using web/credentials/token.
2016-01-12 09:08:03 -04:00
Juan Cruz Viotti
70ea8dd1a3
Redirect users to GitHub and Gitter in case of errors
...
Users will ge a better experience by knowing exactly where to go for
help if things go wrong.
2016-01-12 08:31:40 -04:00
Juan Cruz Viotti
11c0d2a847
Merge pull request #289 from resin-io/help/device-init-primary
...
Don't make `device init` a primary command
2016-01-12 08:08:38 -04:00
Juan Cruz Viotti
301b8a6ba3
Merge pull request #290 from resin-io/doc/quickstart-sudo
...
Stop instructing users to run quickstart as root
2016-01-12 08:08:34 -04:00
Juan Cruz Viotti
acb0aa445c
Merge pull request #291 from resin-io/doc/support-gitter
...
Point users to Gitter in Support README section
2016-01-12 08:08:29 -04:00
Juan Cruz Viotti
a90d578c85
Point users to Gitter in Support README section
2016-01-11 16:04:22 -04:00
Juan Cruz Viotti
d859228aa9
Stop instructing users to run quickstart as root
...
Elevation is asked in specific steps automatically.
2016-01-11 16:01:40 -04:00
Juan Cruz Viotti
2be105d329
Don't make device init
a primary command
...
Unlikely that a user will run this directly having the more high level
`quickstart`.
2016-01-11 16:00:07 -04:00
Juan Cruz Viotti
6d48fcfd6f
Merge pull request #288 from resin-io/misc/build
...
Build CoffeeScript files with LICENSE additions
2016-01-11 15:59:06 -04:00
Juan Cruz Viotti
551a315432
Build CoffeeScript files with LICENSE additions
2016-01-11 15:58:35 -04:00
Juan Cruz Viotti
351dfdb892
Merge pull request #287 from resin-io/feat/gitter-badge
...
Add Gitter badge
2016-01-11 12:19:06 -04:00
Juan Cruz Viotti
dc6727fbf1
Add Gitter badge
2016-01-11 11:28:33 -04:00
Juan Cruz Viotti
af88e48c39
Merge pull request #285 from resin-io/doc/license
...
Change license to Apache 2.0
2016-01-04 10:25:33 -04:00
Juan Cruz Viotti
9cfce68489
Change license to Apache 2.0
2016-01-03 23:58:51 -04:00
Juan Cruz Viotti
8393ff647c
Merge pull request #283 from resin-io/doc/cli-staging
...
Document how to point the CLI to staging
2016-01-01 02:19:43 -04:00
Juan Cruz Viotti
63122a5f51
Merge pull request #282 from resin-io/feat/credential-auth
...
Add optional credential-based authentication
2015-12-31 22:02:31 -04:00
Juan Cruz Viotti
0ad4598575
Document how to point the CLI to staging
2015-12-31 22:00:39 -04:00
Juan Cruz Viotti
b71c28cec0
Add optional credential-based authentication
2015-12-12 00:11:04 -04:00
Juan Cruz Viotti
b0ab23dad4
v2.5.0
2015-12-11 21:30:02 -04:00
Juan Cruz Viotti
de9297c351
Merge pull request #281 from resin-io/feat/logs-timestamp
...
Add timestamp to logs lines
2015-12-11 21:26:21 -04:00
Juan Cruz Viotti
26e3cb7957
Add timestamp to logs lines
2015-12-11 20:28:29 -04:00
Juan Cruz Viotti
bb78a3ca09
Merge pull request #280 from resin-io/feat/lazy-loading
...
Lazy load command actions dependencies
2015-12-07 16:21:32 -03: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
6810eb31fd
Merge pull request #279 from resin-io/jviotti/feat/npmignore
...
Add npmignore
2015-12-04 11:02:01 -04:00
Juan Cruz Viotti
f5b6df483d
Merge pull request #278 from resin-io/jviotti/doc/readme-inst
...
Add --production to installation instructions
2015-12-04 10:55:56 -04:00
Juan Cruz Viotti
7d0da7adc0
Merge pull request #277 from resin-io/jviotti/feat/token-login
...
Support for login in with token
2015-12-04 10:55:39 -04:00
Juan Cruz Viotti
785f2b4ef5
Add npmignore
2015-12-04 08:51:28 -04:00
Juan Cruz Viotti
b668a8c7d0
Add --production to installation instructions
2015-12-04 08:31:39 -04:00
Juan Cruz Viotti
2e247faae4
Merge pull request #276 from resin-io/jviotti/feat/quickstart-after-instructions
...
Add helpful instructions after quickstart
2015-12-03 10:24:13 -04:00
Juan Cruz Viotti
3997a61b78
Support for login in with token
...
This is useful in the scenario when the user is using the CLI in an
environment in which he/she doesn't have access to a web browser, like a
headless server or a Vagrant development environment.
2015-12-03 10:22:22 -04:00
Juan Cruz Viotti
8ef27f0525
Add helpful instructions after quickstart
2015-12-02 16:28:32 -04:00
Juan Cruz Viotti
20855be968
Merge pull request #275 from resin-io/jviotti/feat/sudo-explain
...
Explain why we need the computer password on device init
2015-12-02 15:59:27 -04:00