Skip to content

Commit 71fdabe

Browse files
authored
Merge pull request #220 from semaphore-protocol/refactor/cli-init
Semaphore `create` command Former-commit-id: a411b04
2 parents bd8b06b + cce6c31 commit 71fdabe

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/cli/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ npm i -g @semaphore-protocol/cli
6060
or run specific commands with `npx`:
6161

6262
```bash
63-
npx @semaphore-protocol/cli init my-app
63+
npx @semaphore-protocol/cli create my-app
6464
```
6565

6666
## 📜 Usage
@@ -75,7 +75,7 @@ Options:
7575
-h, --help Display this help.
7676
7777
Commands:
78-
init <project-directory> Initialize a Semaphore project with a supported template.
78+
create <project-directory> Create a Semaphore project with a supported template.
7979
get-groups [options] Get the list of groups from a supported network (Goerli or Arbitrum).
8080
get-group [options] <group-id> Get the data of a group from a supported network (Goerli or Arbitrum).
8181
help [command] Display help for a specific command.

packages/cli/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ program
2727
})
2828

2929
program
30-
.command("init")
31-
.description("Initialize a Semaphore project with a supported template.")
30+
.command("create")
31+
.description("Create a Semaphore project with a supported template.")
3232
.argument("<project-directory>", "Directory of the project.")
3333
// .option("-t, --template <template-name>", "Supported Semaphore template.", "hardhat")
3434
.action(async (projectDirectory) => {

0 commit comments

Comments
 (0)