Skip to content

Commit fe1a6ae

Browse files
authored
feat: update generated cli (#1199)
1 parent 5692502 commit fe1a6ae

File tree

50 files changed

+212
-228
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+212
-228
lines changed

cmd/scw/testdata/test-all-usage-account-ssh-key-add-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-
Add a SSH key to your Scaleway account.
3+
Add a SSH key to your organization.
44

55
USAGE:
66
scw account ssh-key add [arg=value ...]

cmd/scw/testdata/test-all-usage-account-ssh-key-get-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-
Get SSH key details.
3+
Get a SSH key from your organization.
44

55
USAGE:
66
scw account ssh-key get <ssh-key-id ...> [arg=value ...]

cmd/scw/testdata/test-all-usage-account-ssh-key-list-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-
List all SSH keys.
3+
List all SSH keys of your organization.
44

55
USAGE:
66
scw account ssh-key list [arg=value ...]

cmd/scw/testdata/test-all-usage-account-ssh-key-remove-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-
Remove a SSH key from your Scaleway account.
3+
Remove a SSH key from your organization.
44

55
USAGE:
66
scw account ssh-key remove <ssh-key-id ...> [arg=value ...]

cmd/scw/testdata/test-all-usage-account-ssh-key-update-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-
Update an SSH key.
3+
Update a SSH key on your organization.
44

55
USAGE:
66
scw account ssh-key update <ssh-key-id ...> [arg=value ...]

cmd/scw/testdata/test-all-usage-account-ssh-key-usage.golden

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
22
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3-
Manage your Scaleway SSH keys.
3+
SSH keys management commands.
44

55
USAGE:
66
scw account ssh-key <command>
77

88
AVAILABLE COMMANDS:
9-
add Add a SSH key to your Scaleway account
10-
get Get SSH key details
9+
add Add a SSH key to your organization
10+
get Get a SSH key from your organization
1111
init Initialize SSH key
12-
list List all SSH keys
13-
remove Remove a SSH key from your Scaleway account
14-
update Update an SSH key
12+
list List all SSH keys of your organization
13+
remove Remove a SSH key from your organization
14+
update Update a SSH key on your organization
1515

1616
FLAGS:
1717
-h, --help help for ssh-key

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
22
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3-
This API allows to manage your scaleway account
3+
Account API
44

55
USAGE:
66
scw account <command>
77

88
AVAILABLE COMMANDS:
9-
ssh-key Manage your Scaleway SSH keys
9+
ssh-key SSH keys management commands
1010

1111
FLAGS:
1212
-h, --help help for account

cmd/scw/testdata/test-all-usage-baremetal-os-get-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ EXAMPLES:
1010
scw baremetal os get
1111

1212
ARGS:
13-
os-id ID of the researched OS
13+
os-id ID of the OS
1414
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-2)
1515

1616
FLAGS:

cmd/scw/testdata/test-all-usage-baremetal-os-usage.golden

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
22
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3-
An Operating System (OS) is the underlying software installed on your server.
3+
An Operating System (OS) is the underlying software installed on your server
44

55
USAGE:
66
scw baremetal os <command>
77

88
AVAILABLE COMMANDS:
9-
get Get OS
10-
list List OS
9+
get Get an OS with a given ID
10+
list List all available OS that can be install on a baremetal server
1111

1212
FLAGS:
1313
-h, --help help for os

cmd/scw/testdata/test-all-usage-baremetal-server-create-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-
Create a new server. Once the server is created, you probably want to install an OS.
3+
Create a new baremetal server. Once the server is created, you probably want to install an OS.
44

55
USAGE:
66
scw baremetal server create [arg=value ...]

0 commit comments

Comments
 (0)