9 lines
164 B
TypeScript
9 lines
164 B
TypeScript
|
import yargs from 'yargs/yargs';
|
||
|
import { hideBin } from 'yargs/helpers';
|
||
|
|
||
|
yargs(hideBin(process.argv))
|
||
|
.commandDir('cmds')
|
||
|
.demandCommand()
|
||
|
.help()
|
||
|
.argv;
|