UNPKG

gerco

Version:

Easy way to generate the React component

10 lines (8 loc) 262 B
const yargs = require('yargs'); const test = () => { console.log('in lib') yargs.command('hello [name]', 'test yargs', yargs => { return yargs.positional('name', { describe: 'Your name' }) }, argv => { console.log(argv) }) }; module.exports = test;