nodvice
Version:
Easy node command line tool for nodvice framework.
10 lines (9 loc) • 397 B
JavaScript
const program = require('commander');
program
.version('0.1.0')
.command('model <name>', 'Create a new Bookshelf model class')
.command('migrate', 'Run all migrations that have not yet been run.')
.command('migration <name>', 'Create a named migration file.')
.command('rollback', 'Rollback the last set of migrations performed.')
.parse(process.argv);