UNPKG

particle-cli

Version:

Simple Node commandline application for working with your Particle devices and using the Particle Cloud

12 lines (10 loc) 261 B
module.exports = ({ commandProcessor, root, app }) => { commandProcessor.createCommand(root, 'help', false, { params: '[command...]', handler: (argv) => { let cmd = argv.params.command; cmd.push('--help'); return app.runCommand(cmd); } }); };