Thodoris Greasidis
d1c773360f
Fix uuid params being parsed a numbers
...
Connects-To: #489
Change-Type: patch
2018-02-01 17:48:01 +02:00
MoranF
33fd70291a
Add 'or mounted resinOS image'
...
Connects-To: #764
Change-Type: patch
2018-01-30 17:30:18 +01:00
Tim Perry
8c29bba108
Don't use the deprecated 'os configure' format in internal calls
...
Change-Type: patch
2018-01-16 17:54:46 +01:00
Tim Perry
6daed83d88
Lint TypeScript and CoffeeScript with resin-lint
...
Change-Type: patch
2018-01-09 17:14:49 +01:00
Tim Perry
08c40195e5
Make sure everything uses the same shared deviceApiKey option
2017-11-16 19:09:20 +01:00
Tim Perry
87f46cb957
Allow non-interactice config generate for simple network settings
...
Fixes #695
Fixes #410
Change-Type: minor
2017-11-16 15:04:58 +01:00
Tim Perry
a8f1d16b26
Make resin os configure
safe with device keys for all ResinOS versions
2017-10-18 13:43:16 +02:00
Tim Perry
8e95757f47
Make resin config generate
safe for all ResinOS versions
2017-10-18 13:43:16 +02:00
Pagan Gazzard
97eaf174ec
Added a --device-api-key
option to the config generate
command.
...
Change-Type: minor
2017-10-18 13:43:16 +02:00
Eugene Mirotin
77a4c6fdc2
move available-drives command to util
2017-06-15 16:43:02 +03:00
Tim Perry
6e5e4bd8a6
Get docs and the code generating them back in sync (from #515 , #508 )
2017-05-12 12:01:37 +02:00
Eugene Mirotin
08b3db717e
use individual methods promisification instead of promisifyAll
2017-03-27 12:14:55 +03:00
Tim Perry
b629ee6164
Move to preconfigured resin sdk
2017-01-25 19:33:43 +01:00
Eugene Mirotin
f17cbb1205
use the new SDK factory
2017-01-25 19:25:12 +01:00
Kostas Lekkas
29c20e32f6
Reword config help instructions
...
Closes #351
2016-06-14 19:08:25 +03:00
Juan Cruz Viotti
2d8cf7c479
Allow generating a config.json from an application with config generate
...
Currently, `config generate` requires a device uuid. The command now
accepts either a uuid or an application name, and generates a
config.json accordingly.
2016-03-21 15:42:54 -04:00
Juan Cruz Viotti
3a839c947e
Upgrade resin-device-config to v3.0.0
2016-03-21 15:01:59 -04:00
Juan Cruz Viotti
03d7520de2
Implement config inject command
...
This command allows to user to inject a whole `config.json` file to a
provisioned device.
2016-03-17 16:07:19 -04:00
Juan Cruz Viotti
84ed20d3ec
Implement config generate command
...
This command allows the user to generate a config.json file and either
print it to stdout or save it to a file.
2016-02-26 22:37:15 -04:00
Juan Cruz Viotti
9cfce68489
Change license to Apache 2.0
2016-01-03 23:58:51 -04: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
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
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
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
5509a3e9fd
Implement config read command
...
This command is used to read a config.json from a provisioned device
2015-11-10 12:53:34 -04:00