Skip to content

Commit acef197

Browse files
committed
feat: update generated APIs
1 parent 4bfc00a commit acef197

15 files changed

+85
-13
lines changed

cmd/scw/testdata/test-all-usage-iam-user-update-password-usage.golden

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ USAGE:
66
scw iam user update-password <user-id ...> [arg=value ...]
77

88
ARGS:
9-
user-id ID of the user to update
10-
password The new password
11-
[send-email] Whether or not to send an email alerting the user their password has changed
9+
user-id ID of the user to update
10+
password The new password
1211

1312
FLAGS:
1413
-h, --help help for update-password

cmd/scw/testdata/test-all-usage-jobs-run-list-usage.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ ARGS:
99
[order-by] (created_at_asc | created_at_desc)
1010
[job-definition-id]
1111
[project-id]
12+
[state] (unknown_state | queued | scheduled | running | succeeded | failed | canceled | internal_error)
1213
[organization-id]
1314
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw | all)
1415

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
This section allows you to manage and get get subscribed information about your project email offer.
4+
5+
USAGE:
6+
scw tem offers
7+
8+
FLAGS:
9+
-h, --help help for offers
10+
11+
GLOBAL FLAGS:
12+
-c, --config string The path to the config file
13+
-D, --debug Enable debug mode
14+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
15+
-p, --profile string The config profile to use

cmd/scw/testdata/test-all-usage-tem-project-settings-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
22
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3-
Project settings allow you to manage the configuration of your settings.
3+
Project settings allow you to manage the configuration of your projects.
44

55
USAGE:
66
scw tem project-settings

cmd/scw/testdata/test-all-usage-tem-usage.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ AVAILABLE COMMANDS:
99
blocklists Blocklist
1010
domain Domain management commands
1111
email Email management commands
12+
offers Project offers management commands
1213
project-settings Project settings management commands
1314
webhook Webhook management commands
1415

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Acl Rules.
4+
5+
USAGE:
6+
scw vpc rule
7+
8+
FLAGS:
9+
-h, --help help for rule
10+
11+
GLOBAL FLAGS:
12+
-c, --config string The path to the config file
13+
-D, --debug Enable debug mode
14+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
15+
-p, --profile string The config profile to use

cmd/scw/testdata/test-all-usage-vpc-usage.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ USAGE:
88
AVAILABLE COMMANDS:
99
private-network Private network management command
1010
route Route management command
11+
rule Rule management command
1112
subnet Subnet management command
1213
vpc VPC management command
1314

docs/commands/iam.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1168,7 +1168,6 @@ scw iam user update-password <user-id ...> [arg=value ...]
11681168
|------|---|-------------|
11691169
| user-id | Required | ID of the user to update |
11701170
| password | Required | The new password |
1171-
| send-email | | Whether or not to send an email alerting the user their password has changed |
11721171

11731172

11741173

docs/commands/jobs.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ scw jobs run list [arg=value ...]
217217
| order-by | One of: `created_at_asc`, `created_at_desc` | |
218218
| job-definition-id | | |
219219
| project-id | | |
220+
| state | One of: `unknown_state`, `queued`, `scheduled`, `running`, `succeeded`, `failed`, `canceled`, `internal_error` | |
220221
| organization-id | | |
221222
| region | Default: `fr-par`<br />One of: `fr-par`, `nl-ams`, `pl-waw`, `all` | Region to target. If none is passed will use default region from the config |
222223

docs/commands/tem.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ This API allows you to manage your Transactional Email services.
2020
- [Get an email](#get-an-email)
2121
- [Email statuses](#email-statuses)
2222
- [List emails](#list-emails)
23+
- [Project offers management commands](#project-offers-management-commands)
2324
- [Project settings management commands](#project-settings-management-commands)
2425
- [Webhook management commands](#webhook-management-commands)
2526
- [Create a Webhook](#create-a-webhook)
@@ -392,11 +393,25 @@ scw tem email list [arg=value ...]
392393

393394

394395

396+
## Project offers management commands
397+
398+
This section allows you to manage and get get subscribed information about your project email offer.
399+
400+
This section allows you to manage and get get subscribed information about your project email offer.
401+
402+
**Usage:**
403+
404+
```
405+
scw tem offers
406+
```
407+
408+
409+
395410
## Project settings management commands
396411

397-
Project settings allow you to manage the configuration of your settings.
412+
Project settings allow you to manage the configuration of your projects.
398413

399-
Project settings allow you to manage the configuration of your settings.
414+
Project settings allow you to manage the configuration of your projects.
400415

401416
**Usage:**
402417

0 commit comments

Comments
 (0)