@semaphore-protocol/cli 3.0.0-beta.6 → 3.0.0-beta.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -60,7 +60,7 @@ npm i -g @semaphore-protocol/cli
60
60
  or run specific commands with `npx`:
61
61
 
62
62
  ```bash
63
- npx @semaphore-protocol/cli init my-app
63
+ npx @semaphore-protocol/cli create my-app
64
64
  ```
65
65
 
66
66
  ## 📜 Usage
@@ -75,7 +75,7 @@ Options:
75
75
  -h, --help Display this help.
76
76
 
77
77
  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.
79
79
  get-groups [options] Get the list of groups from a supported network (Goerli or Arbitrum).
80
80
  get-group [options] <group-id> Get the data of a group from a supported network (Goerli or Arbitrum).
81
81
  help [command] Display help for a specific command.
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @module @semaphore-protocol/cli
5
- * @version 3.0.0-beta.6
5
+ * @version 3.0.0-beta.8
6
6
  * @file A command line tool to set up your Semaphore project and get group data.
7
7
  * @copyright Ethereum Foundation 2022
8
8
  * @license MIT
@@ -53,8 +53,8 @@ program
53
53
  }
54
54
  });
55
55
  program
56
- .command("init")
57
- .description("Initialize a Semaphore project with a supported template.")
56
+ .command("create")
57
+ .description("Create a Semaphore project with a supported template.")
58
58
  .argument("<project-directory>", "Directory of the project.")
59
59
  // .option("-t, --template <template-name>", "Supported Semaphore template.", "hardhat")
60
60
  .action(async (projectDirectory) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@semaphore-protocol/cli",
3
3
  "type": "module",
4
- "version": "3.0.0-beta.6",
4
+ "version": "3.0.0-beta.8",
5
5
  "description": "A command line tool to set up your Semaphore project and get group data.",
6
6
  "license": "MIT",
7
7
  "bin": {
@@ -40,7 +40,7 @@
40
40
  "typedoc": "^0.22.11"
41
41
  },
42
42
  "dependencies": {
43
- "@semaphore-protocol/subgraph": "3.0.0-beta.6",
43
+ "@semaphore-protocol/subgraph": "3.0.0-beta.8",
44
44
  "chalk": "^5.1.2",
45
45
  "commander": "^9.4.1",
46
46
  "download": "^8.0.0",
package/src/index.ts CHANGED
@@ -27,8 +27,8 @@ program
27
27
  })
28
28
 
29
29
  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.")
32
32
  .argument("<project-directory>", "Directory of the project.")
33
33
  // .option("-t, --template <template-name>", "Supported Semaphore template.", "hardhat")
34
34
  .action(async (projectDirectory) => {