标签: node.js yargs
const yargs = require('yargs');
console.log(yargs.argv);
yargs.command({
command:'add', description: 'Helps add a note', handler: function() { console.log("adding a new note") }
} ).parse();