add command

This commit is contained in:
熊潇 2025-05-16 03:37:04 +08:00
parent dba9cf09f5
commit 717e434ce0

View File

@ -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 };
/**