add command
This commit is contained in:
parent
dba9cf09f5
commit
717e434ce0
@ -16,6 +16,14 @@ const ls = new Command('ls').description('List files in the current directory').
|
||||
});
|
||||
program.addCommand(ls);
|
||||
|
||||
const home = new Command('home').description('启动以全局目录').action(() => {}); // @ts-ignore
|
||||
program.addCommand(home);
|
||||
const root = new Command('root')
|
||||
.argument('<path>', '自定义启动路径')
|
||||
.description('自定义启动路径')
|
||||
.action(() => {}); // @ts-ignore
|
||||
program.addCommand(root);
|
||||
|
||||
export { program, Command, assistantConfig };
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user