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
2015-08-19 11:30:48 -04:00
2015-12-03 10:22:22 -04:00
2015-07-07 18:01:25 -04:00
2014-10-31 09:49:57 -04:00
2015-09-08 09:07:48 +03:00
2015-12-04 08:51:28 -04:00
2015-08-06 12:12:44 -04:00
2015-08-28 08:22:26 -04:00
2015-11-15 22:08:02 -04:00
2015-12-01 14:43:53 -04:00
2014-10-31 09:48:53 -04:00
2015-03-05 15:43:39 -04:00
2015-12-01 14:43:53 -04:00

Resin CLI

npm version dependencies Build Status Build status

The official Resin CLI tool.

Requisites

Getting Started

Installing

This might require elevated privileges in some environments.

$ npm install --global --production resin-cli

Login

$ resin login

List available commands

$ resin help

Run the quickstart wizard

Run as root on UNIX based systems, and in an administrator command line prompt in Windows.

$ resin quickstart

Support

If you're having any problem, check our troubleshooting guide and if your problem is not addressed there, please raise an issue on GitHub and the Resin.io team will be happy to help.

License

The project is licensed under the MIT license.

Description
The official balena CLI tool.
Readme Pixar 60 MiB
Languages
TypeScript 97.9%
JavaScript 1.5%
Shell 0.4%
EJS 0.1%