The official balena CLI tool.
Go to file
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
bin Stop bundling NodeJS in the package 2015-03-04 12:16:35 -04:00
build Merge pull request #139 from resin-io/jviotti/feature/drive-widget 2015-08-13 12:35:41 -04:00
completion Update sh completion with new commands 2015-02-09 10:00:16 -04:00
doc Slim down unused functionality 2015-08-12 08:17:46 -04:00
extras/capitanodoc Regenerate docs 2015-07-07 18:01:25 -04:00
lib Merge pull request #139 from resin-io/jviotti/feature/drive-widget 2015-08-13 12:35:41 -04:00
tests Move tests to tests/ and flatten errors/ module directory 2015-02-10 11:38:19 -04:00
.editorconfig Add editorconfig 2014-10-31 09:49:57 -04:00
.gitignore Add .resinconf to gitignore 2015-04-06 17:05:13 -04:00
.hound.yml Add .hound.yml 2015-04-06 10:08:49 -04:00
.travis.yml Stop supporting iojs 2015-08-06 12:12:44 -04:00
appveyor.yml Use Install-Product instead of Update-NodeJsInstallation 2015-08-06 11:46:57 -04:00
capitanodoc.json Merge pull request #134 from resin-io/remove/drive-command 2015-08-05 12:24:25 -04:00
coffeelint.json Add Coffeelint support 2014-10-31 09:48:53 -04:00
gulpfile.coffee Remove examples commands 2015-08-04 10:00:09 -04:00
LICENSE Add LICENSE file 2015-03-05 15:43:39 -04:00
package.json Merge pull request #139 from resin-io/jviotti/feature/drive-widget 2015-08-13 12:35:41 -04:00
README.md Configure appveyor CI 2015-05-21 10:52:37 -04:00

Resin CLI

npm version dependencies Build Status Build status

The official Resin CLI tool.

Installing

$ npm install -g resin-cli

Running locally

$ ./bin/resin

Tests

You can run the Mocha test suite, you can do:

$ gulp test

Development mode

The following command will watch for any changes and will run a linter and the whole test suite:

$ gulp watch

If you set DEBUG environment variable, errors will print with a stack trace:

$ DEBUG=true resin ...

Documentation

You can renegerate the documentation with:

$ npm run-script doc

Manual pages

UNIX manual pages reside in man/

You can regenerate UNIX roff manual pages from markdown with:

$ gulp man

If you add a new man page, remember to add the generated filename to the man array in package.json.

Caveats