mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-30 10:38:50 +00:00
The official balena CLI tool.
5de0f66d7a
`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. |
||
---|---|---|
bin | ||
build | ||
doc | ||
extras/capitanodoc | ||
lib | ||
tests | ||
.editorconfig | ||
.gitignore | ||
.hound.yml | ||
.travis.yml | ||
appveyor.yml | ||
capitanodoc.json | ||
coffeelint.json | ||
gulpfile.coffee | ||
LICENSE | ||
package.json | ||
README.md |
Resin CLI
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
- Some interactive widgets don't work on Cygwin. If you're running Windows, it's preferrable that you use
cmd.exe
, asCygwin
is not official supported by Node.js.