@gaincompliance/scaffolder-sub-command
v2.1.112
Published
scaffolder sub-command for commander
Downloads
994
Readme
scaffolder-sub-command
scaffolder sub-command for commander
Usage
Installation
$ npm install @gaincompliance/scaffolder-sub-command -S
Adding this sub-command to a commander program
import program from 'commander';
import {addSubCommand} from '@gaincompliance/scaffolder-sub-command';
addSubCommand(program);
Execution
$ mkdir <name of project> # it is recommended to name the directory to match the repo name
$ cd <name of project>
$ <name of containing commander instance> scaffold # gain scaffold
Contribution
Dependencies
$ nvm install
$ npm install
Verification
$ npm test