exports.command = 'mycommand' exports.describe = 'My custom command' exports.builder = (yargs) => { yargs.option('param', { describe: 'My custom parameter', }) } exports.handler = function (argv) { console.log('My custom command executed with param:', argv.param) }


上一篇:
下一篇:
切换中文