修复任务跳转脚本参数,task运行脚本支持更多参数

This commit is contained in:
whyour committed 2021-12-21 00:23:20 +08:00
1 parent a9be3e6376
commit 931f02ef8e
4 files changed
+49 -9

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
import { CommandModule } from 'yargs';
export const updateCommand: CommandModule = {
command: 'update',
describe: 'Update and restart qinglong',
builder: (yargs) => {
return yargs.option('repositority', {
type: 'string',
alias: 'r',
describe: `Specify the release warehouse address of the package`,
});
},
handler: async (argv) => {},
};