Skip to content

Commit 34df89a

Browse files
authored
doc: alphabetically sort commands in all usage (#1183)
1 parent 30c9227 commit 34df89a

34 files changed

+95
-84
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ USAGE:
66
scw account ssh-key <command>
77

88
AVAILABLE COMMANDS:
9-
list List all SSH keys
109
add Add a SSH key to your Scaleway account
1110
get Get SSH key details
12-
update Update an SSH key
13-
remove Remove a SSH key from your Scaleway account
1411
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
1515

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ USAGE:
66
scw baremetal os <command>
77

88
AVAILABLE COMMANDS:
9-
list List OS
109
get Get OS
10+
list List OS
1111

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

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ USAGE:
66
scw baremetal server <command>
77

88
AVAILABLE COMMANDS:
9-
list List servers
10-
get Get server
119
create Create server
12-
update Update server
13-
install Install server
1410
delete Delete server
11+
get Get server
12+
install Install server
13+
list List servers
1514
reboot Reboot server
1615
start Start server
1716
stop Stop server
17+
update Update server
1818
wait Wait for a server to reach a stable state (delivery and installation)
1919

2020
FLAGS:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ USAGE:
66
scw baremetal <command>
77

88
AVAILABLE COMMANDS:
9-
server A server is a denomination of a type of instances provided by Scaleway
109
os An Operating System (OS) is the underlying software installed on your server
10+
server A server is a denomination of a type of instances provided by Scaleway
1111

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

cmd/scw/testdata/test-all-usage-instance-image-usage.golden

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ USAGE:
99
scw instance image <command>
1010

1111
AVAILABLE COMMANDS:
12-
list List images
13-
get Get image
1412
create Create image
1513
delete Delete image
14+
get Get image
15+
list List images
1616
wait Wait for image to reach a stable state
1717

1818
FLAGS:

cmd/scw/testdata/test-all-usage-instance-ip-usage.golden

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ USAGE:
99
scw instance ip <command>
1010

1111
AVAILABLE COMMANDS:
12-
list List IPs
1312
create Reserve an IP
13+
delete Delete IP
1414
get Get IP
15+
list List IPs
1516
update Update IP
16-
delete Delete IP
1717

1818
FLAGS:
1919
-h, --help help for ip

cmd/scw/testdata/test-all-usage-instance-placement-group-usage.golden

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ USAGE:
2323
scw instance placement-group <command>
2424

2525
AVAILABLE COMMANDS:
26-
list List placement groups
2726
create Create placement group
27+
delete Delete the given placement group
2828
get Get placement group
29+
list List placement groups
2930
update Update placement group
30-
delete Delete the given placement group
3131

3232
FLAGS:
3333
-h, --help help for placement-group

cmd/scw/testdata/test-all-usage-instance-security-group-usage.golden

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ USAGE:
1010
scw instance security-group <command>
1111

1212
AVAILABLE COMMANDS:
13-
list List security groups
13+
clear Remove all rules of a security group
1414
create Create security group
15-
get Get security group
1615
delete Delete security group
17-
clear Remove all rules of a security group
16+
get Get security group
17+
list List security groups
1818
update Update security group
1919

2020
FLAGS:

cmd/scw/testdata/test-all-usage-instance-server-usage.golden

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,21 +31,21 @@ USAGE:
3131
scw instance server <command>
3232

3333
AVAILABLE COMMANDS:
34-
list List servers
35-
get Get server
36-
update Update server
3734
attach-volume Attach a volume to a server
3835
backup Backup server
3936
console Connect to the serial console of an instance
4037
create Create server
4138
delete Delete server
42-
terminate Terminate server
4339
detach-volume Detach a volume from its server
40+
get Get server
41+
list List servers
42+
reboot Reboot server
4443
ssh SSH into a server
44+
standby Put server in standby mode
4545
start Power on server
4646
stop Power off server
47-
standby Put server in standby mode
48-
reboot Reboot server
47+
terminate Terminate server
48+
update Update server
4949
wait Wait for server to reach a stable state
5050

5151
FLAGS:

cmd/scw/testdata/test-all-usage-instance-snapshot-usage.golden

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ USAGE:
1616
scw instance snapshot <command>
1717

1818
AVAILABLE COMMANDS:
19-
list List snapshots
2019
create Create snapshot
21-
get Get snapshot
2220
delete Delete snapshot
21+
get Get snapshot
22+
list List snapshots
2323
wait Wait for snapshot to reach a stable state
2424

2525
FLAGS:

0 commit comments

Comments
 (0)