Skip to content

cladera/generator-bin

Repository files navigation

generator-bin Build Status

Generate command-line toolkits with NodeJS. Based on project nomnom.

Getting Started

Command-line Generators

To install generator-bin from npm, run:

npm install -g generator-bin

Generate a new toolkit

yo bin my-tools

Generate a new command

yo bin:command test

Execute your toolkits' commands

node my-tools.js test

If you want to execute directly your toolkit yo can change toolkit file's permissions:

chmod +x my-tools.js

And then

./my-tools.js test

License

MIT