The official balena CLI tool.
Go to file
Juan Cruz Viotti 3d03585318 Merge pull request #93 from resin-io/feature/last_seen-undefined
Default device.last_seen to 'Not seen'. Closes #84.
2015-07-09 13:44:59 -04:00
bin Stop bundling NodeJS in the package 2015-03-04 12:16:35 -04:00
build Default device.last_seen to 'Not seen'. Closes #84. 2015-07-09 09:56:39 -04:00
completion Update sh completion with new commands 2015-02-09 10:00:16 -04:00
doc Regenerate docs 2015-07-07 18:01:25 -04:00
extras/capitanodoc Regenerate docs 2015-07-07 18:01:25 -04:00
lib Default device.last_seen to 'Not seen'. Closes #84. 2015-07-09 09:56:39 -04:00
man Make use of selfupdate 2015-05-14 11:32:18 -03: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 Add .travis.yml 2015-03-02 12:39:05 -04:00
appveyor.yml Use NPM 2.12.1 in Appveyor due to a bug in 2.12.0 2015-07-02 14:28:19 -04:00
capitanodoc.json Regenerate docs 2015-07-07 18:01:25 -04:00
coffeelint.json Add Coffeelint support 2014-10-31 09:48:53 -04:00
gulpfile.coffee Use min mocha reporter 2015-06-04 08:06:08 -04:00
LICENSE Add LICENSE file 2015-03-05 15:43:39 -04:00
package.json Upgrade Resin CLI Visuals to v0.3.2 2015-07-09 13:43:20 -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