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
11 changes: 11 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,14 @@ jobs:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: latest
args: --timeout 10m

spelling:
name: Spell Check with Typos
runs-on: ubuntu-latest
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v4
- name: Spell Check Repo
uses: crate-ci/[email protected]
env:
CLICOLOR: 1
16 changes: 16 additions & 0 deletions _typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[files]
extend-exclude = [
"**.cassette.yaml",
"**.golden",
"go.mod",
"go.sum",
"CHANGELOG.md"
]

[default.extend-words]
pn = "pn"
thi = "thi"
Vertexes = "Vertexes"
ba = "ba"
Viw = "Viw"
UE = "UE"
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Reinstall an existing Apple silicon server (specified by its server ID) from a new image (OS). All the data on the disk is deleted and all configuration is reset to the defailt configuration values of the image (OS).
Reinstall an existing Apple silicon server (specified by its server ID) from a new image (OS). All the data on the disk is deleted and all configuration is reset to the default configuration values of the image (OS).

USAGE:
scw apple-silicon server reinstall <server-id ...> [arg=value ...]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Enable the sending of managed alerts for the specified Project. Managed alerts are predefined alerts that apply to Scaleway recources integrated with Cockpit by default.
Enable the sending of managed alerts for the specified Project. Managed alerts are predefined alerts that apply to Scaleway resources integrated with Cockpit by default.

USAGE:
scw cockpit managed-alerts enable [arg=value ...]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ USAGE:

ARGS:
[container-id] UUID of the container to invoke by the cron
[schedule] UNIX cron shedule
[schedule] UNIX cron schedule
[args] Arguments to pass with the cron
[name] Name of the cron to create
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Get the DNS zone's TLS certificate. If you do not have a certificate, the ouptut returns `no certificate found`.
Get the DNS zone's TLS certificate. If you do not have a certificate, the output returns `no certificate found`.

USAGE:
scw dns certificate get <dns-zone ...> [arg=value ...]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ USAGE:
scw function domain create [arg=value ...]

ARGS:
[hostname] Hostame to create
[hostname] Hostname to create
[function-id] UUID of the function to associate the domain with
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Retrieve information about a policy, speficified by the `policy_id` parameter. The policy's full details, including `id`, `name`, `organization_id`, `nb_rules` and `nb_scopes`, `nb_permission_sets` are returned in the response.
Retrieve information about a policy, specified by the `policy_id` parameter. The policy's full details, including `id`, `name`, `organization_id`, `nb_rules` and `nb_scopes`, `nb_permission_sets` are returned in the response.

USAGE:
scw iam policy get <policy-id ...> [arg=value ...]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource

SEE ALSO:
# List marketplace images
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ WORKFLOW COMMANDS:

FLAGS:
-h, --help help for image
--web open console page for the current ressource
--web open console page for the current resource

GLOBAL FLAGS:
-c, --config string The path to the config file
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource
2 changes: 1 addition & 1 deletion cmd/scw/testdata/test-all-usage-instance-ip-usage.golden
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ AVAILABLE COMMANDS:

FLAGS:
-h, --help help for ip
--web open console page for the current ressource
--web open console page for the current resource

GLOBAL FLAGS:
-c, --config string The path to the config file
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ARGS:

FLAGS:
-h, --help help for get
--web open console page for the current ressource
--web open console page for the current resource

GLOBAL FLAGS:
-c, --config string The path to the config file
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ AVAILABLE COMMANDS:

FLAGS:
-h, --help help for placement-group
--web open console page for the current ressource
--web open console page for the current resource

GLOBAL FLAGS:
-c, --config string The path to the config file
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ARGS:

FLAGS:
-h, --help help for list
--web open console page for the current ressource
--web open console page for the current resource

GLOBAL FLAGS:
-c, --config string The path to the config file
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource

Use "scw instance private-nic [command] --help" for more information about a command.
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
--web open console page for the current ressource
--web open console page for the current resource
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ AVAILABLE COMMANDS:

FLAGS:
-h, --help help for security-group
--web open console page for the current ressource
--web open console page for the current resource

GLOBAL FLAGS:
-c, --config string The path to the config file
Expand Down
Loading
Loading