Skip to content

Commit 43b424c

Browse files
scaleway-botCodelax
authored andcommitted
feat: update generated APIs
1 parent 25c4a48 commit 43b424c

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

cmd/scw/testdata/test-all-usage-secret-secret-list-usage.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ USAGE:
77

88
ARGS:
99
[project-id] ID of a project to filter on (optional)
10+
[name] Secret name to filter on (optional)
1011
[tags.{index}] List of tags to filter on (optional)
1112
[order-by] (name_asc | name_desc | created_at_asc | created_at_desc | updated_at_asc | updated_at_desc)
1213
[organization-id] ID of an organization to filter on (optional)

docs/commands/secret.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ scw secret secret list [arg=value ...]
124124
| Name | | Description |
125125
|------|---|-------------|
126126
| project-id | | ID of a project to filter on (optional) |
127+
| name | | Secret name to filter on (optional) |
127128
| tags.{index} | | List of tags to filter on (optional) |
128129
| order-by | One of: `name_asc`, `name_desc`, `created_at_asc`, `created_at_desc`, `updated_at_asc`, `updated_at_desc` | |
129130
| organization-id | | ID of an organization to filter on (optional) |

internal/namespaces/secret/v1alpha1/secret_cli.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,13 @@ func secretSecretList() *core.Command {
214214
Deprecated: false,
215215
Positional: false,
216216
},
217+
{
218+
Name: "name",
219+
Short: `Secret name to filter on (optional)`,
220+
Required: false,
221+
Deprecated: false,
222+
Positional: false,
223+
},
217224
{
218225
Name: "tags.{index}",
219226
Short: `List of tags to filter on (optional)`,

0 commit comments

Comments
 (0)