commular-test
A commular module to show how commular can be developed and tested easily.
Getting Started
This plugin requires Commular ~0.3.2
If you haven't used Commular before, be sure to check out the documentation
npm install commular-test --save-dev
The "commular-test" task
Overview
This is a dummy Commular module to be used as a template for the rest of real modules.
API
- A commular module requires to export a
command
function that receives as argument theprogram/commander
object.
Example:
exports { program description'run setup commands for all envs' action{ var mode = optionssetup_mode || "normal"; env = env || 'all'; console; };};