slush-harmony-module
Version:
Scaffold an ES2015 (harmony) node module
17 lines (12 loc) • 356 B
JavaScript
import <%= appNameCamel %> from '../'
import yargs from 'yargs'
const argv = yargs.usage('Usage: $0 [options] command')
.showHelpOnFail(false, 'Specify --help for available options')
.version(() => {
return require('../../package.json').version
})
.help('help')
.argv
console.log(`Executing ${argv.$0}`);