Skip to content

Commit 7032671

Browse files
Le-CaignecCopilot
andauthored
fix: cli iapp commands (#77)
Co-authored-by: Copilot <[email protected]>
1 parent 69803d4 commit 7032671

File tree

1 file changed

+8
-20
lines changed

1 file changed

+8
-20
lines changed

src/references/iapp-generator/building-your-iexec-app.md

Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ algorithms and data processing here.
124124
### `iapp init`
125125

126126
**Purpose**: Initialize a new iApp project
127-
**Usage**: `iapp init [options]`
127+
**Usage**: `iapp init`
128128
**What it does**: Creates project structure, configuration files, and basic
129129
templates through interactive prompts.
130130

@@ -150,7 +150,7 @@ templates through interactive prompts.
150150
**Options**:
151151

152152
- `--chain <string>` – Specify the blockchain network for deployment (e.g.,
153-
`goerli`, `mainnet`)
153+
`arbitrum-mainnet`, `bellecour`)
154154

155155
### `iapp run <iAppAddress>`
156156

@@ -170,7 +170,7 @@ templates through interactive prompts.
170170
- `--requesterSecret <array>` – Key-value requester secrets (`index=value`)
171171
available inside the iApp at `$IEXEC_REQUESTER_SECRET_*`
172172
- `--chain <string>` – Specify the blockchain network to run the iApp on (e.g.,
173-
`goerli`, `mainnet`)
173+
`arbitrum-mainnet`, `bellecour`)
174174

175175
### `iapp debug <taskId>`
176176

@@ -183,36 +183,24 @@ templates through interactive prompts.
183183
**Options**:
184184

185185
- `--chain <string>` – Specify the blockchain network of the task (e.g.,
186-
`goerli`, `mainnet`)
186+
`arbitrum-mainnet`, `bellecour`)
187187

188188
### `iapp mock <inputType>`
189189

190-
**Purpose**: Create mocked input for testing purposes
190+
**Purpose**: Create a mocked input for testing
191191
**Usage**: `iapp mock <inputType> [options]`
192192
**Positional arguments**:
193193

194-
- `<inputType>` – Type of input to mock (e.g., `default`, `custom`)
195-
196-
**Options**:
197-
198-
- `--args <string>` – Arguments to use in the mock data
199-
- `--protectedData <string>` – Protected data mock name to use
200-
- `--inputFile <string>` – Input files to mock
201-
- `--requesterSecret <array>` – Requester secrets to mock
194+
- `<inputType>` – Type of input to mock [choices: "protectedData"]
202195

203196
### `iapp wallet <action>`
204197

205198
**Purpose**: Manage wallet-related operations
206199
**Usage**: `iapp wallet <action> [options]`
207200
**Positional arguments**:
208201

209-
- `<action>` – Wallet action to perform (e.g., `balance`, `address`, `sign`)
210-
211-
**Options**:
212-
213-
- `--chain <string>` – Specify the blockchain network (e.g., `goerli`,
214-
`mainnet`)
215-
- `--data <string>` – Data to sign (for `sign` action)
202+
- `<action>` – Import a new wallet or select one from the keystore [choices:
203+
"import", "select"]
216204

217205
## Advanced Options <ChainNotSupportedBadge />
218206

0 commit comments

Comments
 (0)