我有以下代码
export const program = new Command();
program.version('0.0.1');
program
.command('groups')
.command('create')
.action(() => console.log('creating'))
.command('delete')
.action(() => console.log('deleting-all'))
program.parse(process.argv)
我想要实现的是
groups create
和groups delete
但是,将删除的代码链接到创建。它识别groups create
和groups create delete
(我不想要)但不识别groups delete