Skip to content

sterpe/generator-minimist-cheatsheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

generator-minimist-cheatsheet

Adds the minimist-cheatsheet to a project for easy bin'ng.

Install

# install yeoman
npm install -g yo
npm install -g git+https://github.com/sterpe/generator-minimist-cheatsheet.git

Use

yo minimist-cheatsheet

Note

If the target directory already has a package.json you should decline to overwrite the existing file. You will need to manually add the "bin" property to the package.

{
  "bin": {
    "foo": "bin/cmd.js"
  }
}

Test

npm test

Contributing

In lieu of a formal styleguide, an attempt should be made to maintain the existing style.