balena-cli/build/actions
Juan Cruz Viotti 1bc78edf71 Refactor help module
Main changes:

- Use the `columnify` module to display the commands instead of using
manual parsing.

- Extract logic to create a string representation from an option
signature to Capitano, and reuse here.

See https://github.com/resin-io/capitano/pull/28

Some bugs were caught and fixes during the refactoring:

- In command help, if the command didn't exist, we reused default
Capitanos command not found function which uses `process.exit(1)`. This
was changed to pass a custom error to `done()`, so the command fails
correctly when using programatically.

- General help didn't call `done()` at all, thus causing problems if
using the command programatically someday.
2015-08-13 14:19:07 -04:00
..
app.js Slim down unused functionality 2015-08-12 08:17:46 -04:00
auth.js Slim down unused functionality 2015-08-12 08:17:46 -04:00
command-options.js Add per device environment variable support 2015-05-28 12:32:08 -04:00
device.js Remove unused dependencies imports from various files 2015-08-13 13:04:22 -04:00
environment-variables.js Slim down unused functionality 2015-08-12 08:17:46 -04:00
help.js Refactor help module 2015-08-13 14:19:07 -04:00
index.js Merge pull request #134 from resin-io/remove/drive-command 2015-08-05 12:24:25 -04:00
info.js Slim down unused functionality 2015-08-12 08:17:46 -04:00
keys.js Remove unused dependencies imports from various files 2015-08-13 13:04:22 -04:00
logs.js Add promise support for Resin-SDK dependency 2015-07-24 00:24:17 +03:00
notes.js Remove unused dependencies imports from various files 2015-08-13 13:04:22 -04:00
plugin.js Integrate new resin-cli-visuals functionality 2015-07-29 16:34:31 +03:00
preferences.js Integrate with SDK v1.0.0 2015-03-19 11:45:07 -04:00
update.js Make use of selfupdate 2015-05-14 11:32:18 -03:00
wizard.js Slim down unused functionality 2015-08-12 08:17:46 -04:00