Skip to content

Flubbex/commander-starter-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

commander-starter-kit

Starting kit for Commander.js CLI's

Usage

Creating a new command:

api/example.js

function action(argument, options){
    console.log("Example:",argument)
}
  
module.exports = function(program,utilities)
{
  program
  .command('example [argument]')
  .description('Prints argument to screen')
  .action(action)
}

Dependencies

About

Basic project structure for Commander.js CLI's

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published