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
Juan Cruz Viotti
800d13e3cd
Merge pull request #274 from resin-io/jviotti/feat/id-devices
...
Show id in devices command
2015-12-02 15:59:21 -04:00
Juan Cruz Viotti
abc8399260
Explain why we need the computer password on device init
2015-12-02 11:15:20 -04:00
Juan Cruz Viotti
9ad2ba1131
Show id in devices command
2015-12-02 09:06:41 -04:00
Juan Cruz Viotti
0f8d6a98e3
v2.4.0
2015-12-01 14:43:53 -04:00
Juan Cruz Viotti
81af8c74b4
Merge pull request #273 from resin-io/jviotti/update/doc
...
Update generated documentation
2015-12-01 14:41:29 -04:00
Juan Cruz Viotti
16ab74294f
Update generated documentation
2015-12-01 12:56:53 -04:00
Juan Cruz Viotti
f8bcc9d1ea
Merge pull request #272 from resin-io/jviotti/feature/automatic-login-exchange
...
Perform automatic token exchange with the dashboard
2015-12-01 12:56:07 -04:00
Juan Cruz Viotti
9a89e3c3ca
Perform automatic token exchange with the dashboard
2015-11-25 09:25:08 -04:00
Juan Cruz Viotti
359c37f259
Merge pull request #270 from resin-io/jviotti/fix/remove-debug-download-msg
...
Simplify download output message
2015-11-24 11:07:40 -04:00
Juan Cruz Viotti
1ba5697986
Merge pull request #271 from resin-io/jviotti/dependencies/remove-unused
...
Remove unused dependencies
2015-11-24 11:07:21 -04:00
Juan Cruz Viotti
647ed1e7aa
Remove unused dependencies
2015-11-24 00:06:44 -04:00
Juan Cruz Viotti
b881e23c1c
Merge pull request #269 from resin-io/jviotti/feature/device-type-in-app-list
...
Show device types when selecting applications
2015-11-23 23:39:34 -04:00
Juan Cruz Viotti
ae8621dc81
Simplify download output message
...
The message displayed the output of the download, which was mainly used
for debugging purposes when developing `device init` and `quickstart`.
2015-11-23 23:38:28 -04:00
Juan Cruz Viotti
e08c3752f9
Show device types when selecting applications
...
Some CLI commans prompt to select an existing application, presending a
dropdown with all the application names, however it's hard to remember
which application belon to which device type, which makes it easier to
select the wrong application.
2015-11-23 09:23:08 -04:00
Juan Cruz Viotti
65646d1206
v2.3.0
2015-11-20 13:01:58 -04:00
Juan Cruz Viotti
e42d3e8c4c
Merge pull request #266 from resin-io/jviotti/feature/resin-url-info
...
Clarify resin url on auth and whoami
2015-11-18 16:15:46 -04:00
Juan Cruz Viotti
a4642f6184
Clarify resin url on auth and whoami
...
When you change the `resinUrl` config from time to time it can be
confusing to remember where you're logging in, or in which host you're
in.
Currently I have to check the configuration files/environment variables
manually or run `resin settings`.
This PR prints the detected resin url on `resin login` and `resin
whoami` so it's always clear where you are.
2015-11-16 10:11:08 -04:00
Juan Cruz Viotti
038c871911
Merge pull request #265 from resin-io/jviotti/feature/settings
...
Implement settings command
2015-11-16 09:03:20 -04:00
Juan Cruz Viotti
f52dd2976f
Implement settings command
...
This command allows the user to list all detected settings.
2015-11-15 22:08:02 -04:00
Juan Cruz Viotti
d079a57da4
Merge pull request #264 from resin-io/jviotti/fix/devices-uuid
...
Show uuid in devices command
2015-11-13 15:33:17 -04:00
Juan Cruz Viotti
43697a3476
Show uuid in devices command
...
The command to get information about a device, `resin device` requires a
`uuid` as a parameter. Given that we don't show uuids in `resin
devices`, the user has no way to know what uuid to pass to get extra
information.
We also remove some non very used information columns from `resin
devices` to make space for the uuid.
2015-11-13 14:06:55 -04:00
Juan Cruz Viotti
b893bd1e39
Merge pull request #262 from resin-io/jviotti/feature/windows-elevation
...
Handle Windows permissions elevation automatically
2015-11-12 14:05:44 -04:00
Juan Cruz Viotti
c3b5a768e1
Handle Windows permissions elevation automatically
2015-11-12 13:30:48 -04:00
Juan Cruz Viotti
111ea44b40
Resin CLI v2.2.0
2015-11-12 08:33:51 -04:00
Juan Cruz Viotti
d1b25c17b6
Merge pull request #261 from resin-io/jviotti/feature/move-device
...
Implement device move command
2015-11-12 08:32:55 -04:00
Juan Cruz Viotti
ba318f2939
Implement device move command
...
This command allows to user to move a device to another application he
owns.
2015-11-12 07:47:16 -04:00
Juan Cruz Viotti
7ac0291c53
Merge pull request #260 from resin-io/jviotti/102/feature/device-reconfigure
...
Implement config reconfigure command
2015-11-11 10:59:31 -04:00
Juan Cruz Viotti
f64676ab98
Implement config reconfigure command
...
This command allows the user to reconfigure an already provisioned
device.
Fixes: https://github.com/resin-io/resin-cli/issues/102
2015-11-11 10:38:45 -04:00
Juan Cruz Viotti
d522cbe1ca
Merge pull request #259 from resin-io/jviotti/refactor/resin-config-json
...
Make use of resin-config-json for config commands
2015-11-11 10:27:24 -04:00
Juan Cruz Viotti
4fc7a4e436
Make use of resin-config-json for config commands
...
This module encapsulates the low level details of `config.json` I/O and
tests them extensively.
See: https://github.com/resin-io/resin-config-json
2015-11-11 10:04:46 -04:00
Juan Cruz Viotti
79f2b4f0d5
Merge pull request #258 from resin-io/jviotti/doc/regenerate
...
Regenerate documentation
2015-11-11 09:17:52 -04:00
Juan Cruz Viotti
880a7b1e25
Regenerate documentation
2015-11-11 08:45:38 -04:00
Juan Cruz Viotti
89c5bb3080
Resin CLI v2.1.0
2015-11-11 08:31:32 -04:00
Juan Cruz Viotti
a71fb8ca4d
Merge pull request #257 from resin-io/jviotti/feature/config-json-write
...
Implement config write command
2015-11-11 08:29:10 -04:00
Juan Cruz Viotti
3b35aed3bf
Implement config write command
...
This command allows the user to overwrite properties of the config.json
file.
2015-11-10 14:28:18 -04:00
Juan Cruz Viotti
0bc3b9460f
Merge pull request #256 from resin-io/jviotti/feature/read-config
...
Implement config read command
2015-11-10 13:08:54 -04:00