Skip to content

Commit 29b0d1c

Browse files
authored
Merge pull request #24 from kinfuy/dev
feat: command --help
2 parents 3826fab + 5c29a6e commit 29b0d1c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

package/gacm.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,6 @@ program.command('alias <origin> <target>', '添加别名').action(useAlias);
2626

2727
program.command('delete <name>', '删除用户').action(useDelete);
2828

29+
program.help();
30+
2931
program.parse(process.argv);

package/gnrm.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,6 @@ program.command('alias <origin> <target>', '镜像添加别名').action(useAlias
2626

2727
program.command('delete <name>', '删除镜像').action(useDelete);
2828

29+
program.help();
30+
2931
program.parse(process.argv);

0 commit comments

Comments
 (0)