Simple command line interface
$ npm install -g machinepack-cli
maybe with sudo if error
$ cli --help
$ cli --generate file
$ cli file --function param param -other_function -other
Generate a file in bin folder
$ cli file --hello
or
$ ./bin/file.js --hello
$ cli file --help
For the latest usage documentation, version information, and test status of this module, see http://node-machine.org/machinepack-cli. The generated manpages for each machine contain a complete reference of all expected inputs, possible exit states, and example return values. If you need more help, or find a bug, jump into Gitter or leave a message in the project newsgroup.
This is a machinepack, an NPM module which exposes a set of related Node.js machines according to the machinepack specification. Documentation pages for the machines contained in this module (as well as all other NPM-hosted machines for Node.js) are automatically generated and kept up-to-date on the public registry. Learn more at http://node-machine.org/implementing/FAQ.
MIT © 2015 contributors