Skip to content

Commit

Permalink
feat(create): add new command add
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Jan 4, 2023
1 parent 5443ffa commit 8c34064
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/create/src/index.ts
Expand Up @@ -141,10 +141,11 @@ cli
);

cli
.command("inject [dir]", "Add vuepress template to dir")
.command("add [dir]", "Add vuepress template to dir")
.alias("inject")
.option("-p, --preset <preset>", "Choose preset to use")
.usage(
"pnpm create vuepress-theme-hope@next inject [dir] / npm init vuepress-theme-hope@next inject [dir]"
"pnpm create vuepress-theme-hope@next add [dir] / npm init vuepress-theme-hope@next add [dir]"
)
.example("docs")
.action(
Expand Down

0 comments on commit 8c34064

Please sign in to comment.