The official balena CLI tool.
Go to file
Juan Cruz Viotti 5de0f66d7a Don't check for available updates when running as root
`update-notifier` persist its update check results in a file, which is
then read when running again the application.

If this file gets written when the application is being run as root, we
get ugly EPERM issues.
2015-08-20 16:54:22 -04:00
bin Remove unused resin-write bin script 2015-08-19 11:30:48 -04:00
build Don't check for available updates when running as root 2015-08-20 16:54:22 -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 Don't check for available updates when running as root 2015-08-20 16:54:22 -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 Don't check for available updates when running as root 2015-08-20 16:54:22 -04:00
README.md Remove Man pages section from README.md 2015-08-20 12:04:11 -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

Caveats