Code coverage report for lib/commands/index.js

Statements: 100% (1 / 1)      Branches: 100% (0 / 0)      Functions: 100% (0 / 0)      Lines: 100% (1 / 1)      Ignored: none     

All files » lib/commands/ » index.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18                      24            
/*
 * Maps command name to a command plugin module.  Each command plugin module
 * must export a function that takes (documentation, parsedArgs), where
 * documentation is just the main module (index.js), and parsedArgs is
 * { inputs, options, command, commandOptions }
 *
 * Command modules should also export a `description`, which will be used in
 * the main CLI help, and optionally a `parseArgs(yargs, parentArgv)` function
 * to parse additional arguments.
 */
 
module.exports = {
  'build': require('./build'),
  'serve': require('./serve'),
  'lint': require('./lint')
};