mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-04-07 11:26:41 +00:00
This release fixes: - Check if device exists before removing it "resin device rm <uuid>" - https://github.com/resin-io/resin-cli/issues/123 - Check if app exists before removing it "resin app rm <appName>" - https://github.com/resin-io/resin-cli/issues/114 - Command does not display correct output "resin key <id>" - https://github.com/resin-io/resin-cli/issues/112 Since it includes the following PRs: - https://github.com/resin-io/resin-sdk/pull/103 - https://github.com/resin-io/resin-sdk/pull/107
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
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
- 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.
Languages
TypeScript
97.9%
JavaScript
1.5%
Shell
0.4%
EJS
0.1%