Skip to content

Commit

Permalink
feat: command --help
Browse files Browse the repository at this point in the history
  • Loading branch information
kinfuy committed Feb 11, 2023
1 parent 3826fab commit 5c29a6e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package/gacm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,6 @@ program.command('alias <origin> <target>', '添加别名').action(useAlias);

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

program.help();

program.parse(process.argv);
2 changes: 2 additions & 0 deletions package/gnrm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,6 @@ program.command('alias <origin> <target>', '镜像添加别名').action(useAlias

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

program.help();

program.parse(process.argv);

0 comments on commit 5c29a6e

Please sign in to comment.