Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Add a SSH key to your Scaleway account.
Add a SSH key to your organization.

USAGE:
scw account ssh-key add [arg=value ...]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Get SSH key details.
Get a SSH key from your organization.

USAGE:
scw account ssh-key get <ssh-key-id ...> [arg=value ...]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
List all SSH keys.
List all SSH keys of your organization.

USAGE:
scw account ssh-key list [arg=value ...]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Remove a SSH key from your Scaleway account.
Remove a SSH key from your organization.

USAGE:
scw account ssh-key remove <ssh-key-id ...> [arg=value ...]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Update an SSH key.
Update a SSH key on your organization.

USAGE:
scw account ssh-key update <ssh-key-id ...> [arg=value ...]
Expand Down
12 changes: 6 additions & 6 deletions cmd/scw/testdata/test-all-usage-account-ssh-key-usage.golden
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Manage your Scaleway SSH keys.
SSH keys management commands.

USAGE:
scw account ssh-key <command>

AVAILABLE COMMANDS:
add Add a SSH key to your Scaleway account
get Get SSH key details
add Add a SSH key to your organization
get Get a SSH key from your organization
init Initialize SSH key
list List all SSH keys
remove Remove a SSH key from your Scaleway account
update Update an SSH key
list List all SSH keys of your organization
remove Remove a SSH key from your organization
update Update a SSH key on your organization

FLAGS:
-h, --help help for ssh-key
Expand Down
4 changes: 2 additions & 2 deletions cmd/scw/testdata/test-all-usage-account-usage.golden
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
This API allows to manage your scaleway account
Account API

USAGE:
scw account <command>

AVAILABLE COMMANDS:
ssh-key Manage your Scaleway SSH keys
ssh-key SSH keys management commands

FLAGS:
-h, --help help for account
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ EXAMPLES:
scw baremetal os get

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

FLAGS:
Expand Down
6 changes: 3 additions & 3 deletions cmd/scw/testdata/test-all-usage-baremetal-os-usage.golden
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
An Operating System (OS) is the underlying software installed on your server.
An Operating System (OS) is the underlying software installed on your server

USAGE:
scw baremetal os <command>

AVAILABLE COMMANDS:
get Get OS
list List OS
get Get an OS with a given ID
list List all available OS that can be install on a baremetal server

FLAGS:
-h, --help help for os
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Create a new server. Once the server is created, you probably want to install an OS.
Create a new baremetal server. Once the server is created, you probably want to install an OS.

USAGE:
scw baremetal server create [arg=value ...]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
List all created servers.
List baremetal servers.

USAGE:
scw baremetal server list [arg=value ...]
Expand Down
20 changes: 10 additions & 10 deletions cmd/scw/testdata/test-all-usage-baremetal-server-usage.golden
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
A server is a denomination of a type of instances provided by Scaleway.
A server is a denomination of a type of instances provided by Scaleway

USAGE:
scw baremetal server <command>

AVAILABLE COMMANDS:
create Create server
delete Delete server
get Get server
install Install server
list List servers
reboot Reboot server
start Start server
stop Stop server
update Update server
create Create a baremetal server
delete Delete a baremetal server
get Get a specific baremetal server
install Install a baremetal server
list List baremetal servers
reboot Reboot a baremetal server
start Start a baremetal server
stop Stop a baremetal server
update Update a baremetal server
wait Wait for a server to reach a stable state (delivery and installation)

FLAGS:
Expand Down
4 changes: 2 additions & 2 deletions cmd/scw/testdata/test-all-usage-baremetal-usage.golden
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ USAGE:
scw baremetal <command>

AVAILABLE COMMANDS:
os An Operating System (OS) is the underlying software installed on your server
server A server is a denomination of a type of instances provided by Scaleway
os Operating System (OS) management commands
server Server management commands

FLAGS:
-h, --help help for baremetal
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Create image.
Create an instance image.

USAGE:
scw instance image create [arg=value ...]
Expand Down
8 changes: 4 additions & 4 deletions cmd/scw/testdata/test-all-usage-instance-image-usage.golden
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ USAGE:
scw instance image <command>

AVAILABLE COMMANDS:
create Create image
delete Delete image
get Get image
list List images
create Create an instance image
delete Delete an instance image
get Get an instance image
list List instance images
wait Wait for image to reach a stable state

FLAGS:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Reserve an IP.
Reserve a flexible IP.

USAGE:
scw instance ip create [arg=value ...]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
List IPs.
List all flexible IPs.

USAGE:
scw instance ip list [arg=value ...]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Update IP.
Update a flexible IP.

USAGE:
scw instance ip update <ip ...> [arg=value ...]
Expand Down
10 changes: 5 additions & 5 deletions cmd/scw/testdata/test-all-usage-instance-ip-usage.golden
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ USAGE:
scw instance ip <command>

AVAILABLE COMMANDS:
create Reserve an IP
delete Delete IP
get Get IP
list List IPs
update Update IP
create Reserve a flexible IP
delete Delete a flexible IP
get Get a flexible IP
list List all flexible IPs
update Update a flexible IP

FLAGS:
-h, --help help for ip
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ USAGE:
scw instance placement-group <command>

AVAILABLE COMMANDS:
create Create placement group
create Create a placement group
delete Delete the given placement group
get Get placement group
get Get a placement group
list List placement groups
update Update placement group
update Update a placement group

FLAGS:
-h, --help help for placement-group
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Create security group.
Create a security group.

USAGE:
scw instance security-group create [arg=value ...]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Delete security group.
Delete a security group.

USAGE:
scw instance security-group delete <security-group-id ...> [arg=value ...]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ USAGE:

AVAILABLE COMMANDS:
clear Remove all rules of a security group
create Create security group
delete Delete security group
get Get security group
create Create a security group
delete Delete a security group
get Get a security group
list List security groups
update Update security group

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
List servers.
List all servers.

USAGE:
scw instance server list [arg=value ...]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Update server.
Update a server.

USAGE:
scw instance server update <server-id ...> [arg=value ...]
Expand Down
6 changes: 3 additions & 3 deletions cmd/scw/testdata/test-all-usage-instance-server-usage.golden
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ AVAILABLE COMMANDS:
create Create server
delete Delete server
detach-volume Detach a volume from its server
get Get server
list List servers
get Get a server
list List all servers
reboot Reboot server
ssh SSH into a server
standby Put server in standby mode
start Power on server
stop Power off server
terminate Terminate server
update Update server
update Update a server
wait Wait for server to reach a stable state

FLAGS:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Create snapshot.
Create a snapshot from a given volume.

USAGE:
scw instance snapshot create [arg=value ...]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ USAGE:
scw instance snapshot <command>

AVAILABLE COMMANDS:
create Create snapshot
delete Delete snapshot
get Get snapshot
create Create a snapshot from a given volume
delete Delete a snapshot
get Get a snapshot
list List snapshots
wait Wait for snapshot to reach a stable state

Expand Down
20 changes: 10 additions & 10 deletions cmd/scw/testdata/test-all-usage-instance-usage.golden
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ USAGE:
scw instance <command>

AVAILABLE COMMANDS:
image An image is a backup of an instance
ip A flexible IP address is an IP address which holden independently of any server
placement-group A placement group allows to express a preference regarding the physical position of a group of instances
security-group A security group is a set of firewall rules on a set of instances
server A server is a denomination of a type of instances provided by Scaleway
server-type A server type is a representation of an instance type available in a given zone
snapshot A snapshot contains the data of a specific volume at a particular point in time
user-data User data is a key value store API you can use to provide data from and to your server without authentication
volume A volume is used to store data inside an instance
volume-type A volume type is a representation of a volume type available in a given zone
image Image management commands
ip IP management commands
placement-group Placement group management commands
security-group Security group management commands
server Server management commands
server-type Server type management commands
snapshot Snapshot management commands
user-data User data management commands
volume Volume management commands
volume-type Volume type management commands

FLAGS:
-h, --help help for instance
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Create volume.
Create a volume.

USAGE:
scw instance volume create [arg=value ...]
Expand Down
8 changes: 4 additions & 4 deletions cmd/scw/testdata/test-all-usage-instance-volume-usage.golden
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ USAGE:
scw instance volume <command>

AVAILABLE COMMANDS:
create Create volume
delete Delete volume
get Get volume
create Create a volume
delete Delete a volume
get Get a volume
list List volumes
update Update volume
update Update a volume

FLAGS:
-h, --help help for volume
Expand Down
10 changes: 5 additions & 5 deletions cmd/scw/testdata/test-all-usage-k8s-usage.golden
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
This API allows you to manage your Kapsule clusters
Kapsule API

USAGE:
scw k8s <command>

AVAILABLE COMMANDS:
cluster A cluster is a Kubernetes Kapsule cluster
cluster Kapsule cluster management commands
kubeconfig Manage your Kubernetes Kapsule cluster's kubeconfig files
node A node is the representation of a Scaleway instance in a cluster
pool A pool is a virtual group of nodes in a cluster
version A version is a Kubernetes version
node Kapsule node management commands
pool Kapsule pool management commands
version Available Kubernetes version commands

FLAGS:
-h, --help help for k8s
Expand Down
Loading