diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b89cb0c1e5..76e0adf3f6 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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/typos@v1.39.0 + env: + CLICOLOR: 1 diff --git a/_typos.toml b/_typos.toml new file mode 100644 index 0000000000..917f007338 --- /dev/null +++ b/_typos.toml @@ -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" diff --git a/cmd/scw/testdata/test-all-usage-apple-silicon-server-reinstall-usage.golden b/cmd/scw/testdata/test-all-usage-apple-silicon-server-reinstall-usage.golden index 5ed92eba80..2b88d3309a 100644 --- a/cmd/scw/testdata/test-all-usage-apple-silicon-server-reinstall-usage.golden +++ b/cmd/scw/testdata/test-all-usage-apple-silicon-server-reinstall-usage.golden @@ -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 [arg=value ...] diff --git a/cmd/scw/testdata/test-all-usage-cockpit-managed-alerts-enable-usage.golden b/cmd/scw/testdata/test-all-usage-cockpit-managed-alerts-enable-usage.golden index 15f12459e5..1ee26ad118 100644 --- a/cmd/scw/testdata/test-all-usage-cockpit-managed-alerts-enable-usage.golden +++ b/cmd/scw/testdata/test-all-usage-cockpit-managed-alerts-enable-usage.golden @@ -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 ...] diff --git a/cmd/scw/testdata/test-all-usage-container-cron-create-usage.golden b/cmd/scw/testdata/test-all-usage-container-cron-create-usage.golden index 9f36659dd6..b89686a001 100644 --- a/cmd/scw/testdata/test-all-usage-container-cron-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-container-cron-create-usage.golden @@ -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) diff --git a/cmd/scw/testdata/test-all-usage-dns-certificate-get-usage.golden b/cmd/scw/testdata/test-all-usage-dns-certificate-get-usage.golden index 523ef77813..ed98f39260 100644 --- a/cmd/scw/testdata/test-all-usage-dns-certificate-get-usage.golden +++ b/cmd/scw/testdata/test-all-usage-dns-certificate-get-usage.golden @@ -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 [arg=value ...] diff --git a/cmd/scw/testdata/test-all-usage-function-domain-create-usage.golden b/cmd/scw/testdata/test-all-usage-function-domain-create-usage.golden index 975da32cf6..11ea6eb2bb 100644 --- a/cmd/scw/testdata/test-all-usage-function-domain-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-function-domain-create-usage.golden @@ -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) diff --git a/cmd/scw/testdata/test-all-usage-iam-policy-get-usage.golden b/cmd/scw/testdata/test-all-usage-iam-policy-get-usage.golden index 2a929574fb..a1f8e2dab1 100644 --- a/cmd/scw/testdata/test-all-usage-iam-policy-get-usage.golden +++ b/cmd/scw/testdata/test-all-usage-iam-policy-get-usage.golden @@ -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 [arg=value ...] diff --git a/cmd/scw/testdata/test-all-usage-instance-image-create-usage.golden b/cmd/scw/testdata/test-all-usage-instance-image-create-usage.golden index 67f49da81d..f2c584e85a 100644 --- a/cmd/scw/testdata/test-all-usage-instance-image-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-image-create-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-image-delete-usage.golden b/cmd/scw/testdata/test-all-usage-instance-image-delete-usage.golden index 5ed8eb7563..8ed9e1fe1e 100644 --- a/cmd/scw/testdata/test-all-usage-instance-image-delete-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-image-delete-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-image-get-usage.golden b/cmd/scw/testdata/test-all-usage-instance-image-get-usage.golden index 3e06def7c2..ade27920da 100644 --- a/cmd/scw/testdata/test-all-usage-instance-image-get-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-image-get-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-image-list-usage.golden b/cmd/scw/testdata/test-all-usage-instance-image-list-usage.golden index 6abbd3a179..a3fdd20790 100644 --- a/cmd/scw/testdata/test-all-usage-instance-image-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-image-list-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-image-update-usage.golden b/cmd/scw/testdata/test-all-usage-instance-image-update-usage.golden index a1d2e83051..886bb3c401 100644 --- a/cmd/scw/testdata/test-all-usage-instance-image-update-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-image-update-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-image-usage.golden b/cmd/scw/testdata/test-all-usage-instance-image-usage.golden index 38170e252f..8dfcac378a 100644 --- a/cmd/scw/testdata/test-all-usage-instance-image-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-image-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-image-wait-usage.golden b/cmd/scw/testdata/test-all-usage-instance-image-wait-usage.golden index 88142b4990..d615e2ee9f 100644 --- a/cmd/scw/testdata/test-all-usage-instance-image-wait-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-image-wait-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-ip-attach-usage.golden b/cmd/scw/testdata/test-all-usage-instance-ip-attach-usage.golden index 9158044370..11e91f9f29 100644 --- a/cmd/scw/testdata/test-all-usage-instance-ip-attach-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-ip-attach-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-ip-create-usage.golden b/cmd/scw/testdata/test-all-usage-instance-ip-create-usage.golden index 5887541e32..ff4eb70e22 100644 --- a/cmd/scw/testdata/test-all-usage-instance-ip-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-ip-create-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-ip-delete-usage.golden b/cmd/scw/testdata/test-all-usage-instance-ip-delete-usage.golden index d45749e1ad..78da335465 100644 --- a/cmd/scw/testdata/test-all-usage-instance-ip-delete-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-ip-delete-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-ip-detach-usage.golden b/cmd/scw/testdata/test-all-usage-instance-ip-detach-usage.golden index 097ca34f54..2ae24ea17b 100644 --- a/cmd/scw/testdata/test-all-usage-instance-ip-detach-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-ip-detach-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-ip-get-usage.golden b/cmd/scw/testdata/test-all-usage-instance-ip-get-usage.golden index 23e9d62f64..2c74d38c32 100644 --- a/cmd/scw/testdata/test-all-usage-instance-ip-get-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-ip-get-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-ip-list-usage.golden b/cmd/scw/testdata/test-all-usage-instance-ip-list-usage.golden index 9aa2934a86..1da2ce5085 100644 --- a/cmd/scw/testdata/test-all-usage-instance-ip-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-ip-list-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-ip-update-usage.golden b/cmd/scw/testdata/test-all-usage-instance-ip-update-usage.golden index ebe3e764f4..8345c8fec1 100644 --- a/cmd/scw/testdata/test-all-usage-instance-ip-update-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-ip-update-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-ip-usage.golden b/cmd/scw/testdata/test-all-usage-instance-ip-usage.golden index ef87019c65..b5e69fdada 100644 --- a/cmd/scw/testdata/test-all-usage-instance-ip-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-ip-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-placement-group-create-usage.golden b/cmd/scw/testdata/test-all-usage-instance-placement-group-create-usage.golden index df9d8f118e..4508bdc95a 100644 --- a/cmd/scw/testdata/test-all-usage-instance-placement-group-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-placement-group-create-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-placement-group-delete-usage.golden b/cmd/scw/testdata/test-all-usage-instance-placement-group-delete-usage.golden index 25f0206f17..2ee362fe89 100644 --- a/cmd/scw/testdata/test-all-usage-instance-placement-group-delete-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-placement-group-delete-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-placement-group-get-servers-usage.golden b/cmd/scw/testdata/test-all-usage-instance-placement-group-get-servers-usage.golden index a58053eb0a..a17603eeb1 100644 --- a/cmd/scw/testdata/test-all-usage-instance-placement-group-get-servers-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-placement-group-get-servers-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-placement-group-get-usage.golden b/cmd/scw/testdata/test-all-usage-instance-placement-group-get-usage.golden index 005d64c7a7..689b59d1ae 100644 --- a/cmd/scw/testdata/test-all-usage-instance-placement-group-get-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-placement-group-get-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-placement-group-list-usage.golden b/cmd/scw/testdata/test-all-usage-instance-placement-group-list-usage.golden index b54060e43d..ad2188eaac 100644 --- a/cmd/scw/testdata/test-all-usage-instance-placement-group-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-placement-group-list-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-placement-group-set-servers-usage.golden b/cmd/scw/testdata/test-all-usage-instance-placement-group-set-servers-usage.golden index 7ce759e536..f16bef4b99 100644 --- a/cmd/scw/testdata/test-all-usage-instance-placement-group-set-servers-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-placement-group-set-servers-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-placement-group-set-usage.golden b/cmd/scw/testdata/test-all-usage-instance-placement-group-set-usage.golden index e45e4afd3c..7bd147eec8 100644 --- a/cmd/scw/testdata/test-all-usage-instance-placement-group-set-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-placement-group-set-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-placement-group-update-servers-usage.golden b/cmd/scw/testdata/test-all-usage-instance-placement-group-update-servers-usage.golden index e26a347ed9..64df4a992f 100644 --- a/cmd/scw/testdata/test-all-usage-instance-placement-group-update-servers-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-placement-group-update-servers-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-placement-group-update-usage.golden b/cmd/scw/testdata/test-all-usage-instance-placement-group-update-usage.golden index bec8fc4680..dc9eced190 100644 --- a/cmd/scw/testdata/test-all-usage-instance-placement-group-update-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-placement-group-update-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-placement-group-usage.golden b/cmd/scw/testdata/test-all-usage-instance-placement-group-usage.golden index cac6ae57f9..339bb7056b 100644 --- a/cmd/scw/testdata/test-all-usage-instance-placement-group-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-placement-group-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-private-nic-create-usage.golden b/cmd/scw/testdata/test-all-usage-instance-private-nic-create-usage.golden index e9442aac94..d8dc532114 100644 --- a/cmd/scw/testdata/test-all-usage-instance-private-nic-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-private-nic-create-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-private-nic-delete-usage.golden b/cmd/scw/testdata/test-all-usage-instance-private-nic-delete-usage.golden index 20c1eb9992..8f388ba6ad 100644 --- a/cmd/scw/testdata/test-all-usage-instance-private-nic-delete-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-private-nic-delete-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-private-nic-get-usage.golden b/cmd/scw/testdata/test-all-usage-instance-private-nic-get-usage.golden index 19d47f4b02..4cabf8cfcc 100644 --- a/cmd/scw/testdata/test-all-usage-instance-private-nic-get-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-private-nic-get-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-private-nic-list-usage.golden b/cmd/scw/testdata/test-all-usage-instance-private-nic-list-usage.golden index 3757eaf25d..6a2fd6da0b 100644 --- a/cmd/scw/testdata/test-all-usage-instance-private-nic-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-private-nic-list-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-private-nic-update-usage.golden b/cmd/scw/testdata/test-all-usage-instance-private-nic-update-usage.golden index 349079980a..81625ea584 100644 --- a/cmd/scw/testdata/test-all-usage-instance-private-nic-update-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-private-nic-update-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-private-nic-usage.golden b/cmd/scw/testdata/test-all-usage-instance-private-nic-usage.golden index 9480f1a017..7bd0e5c2a0 100644 --- a/cmd/scw/testdata/test-all-usage-instance-private-nic-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-private-nic-usage.golden @@ -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. diff --git a/cmd/scw/testdata/test-all-usage-instance-security-group-clear-usage.golden b/cmd/scw/testdata/test-all-usage-instance-security-group-clear-usage.golden index c34fc48af4..0be9fc3425 100644 --- a/cmd/scw/testdata/test-all-usage-instance-security-group-clear-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-security-group-clear-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-security-group-create-rule-usage.golden b/cmd/scw/testdata/test-all-usage-instance-security-group-create-rule-usage.golden index b108f17c52..a398ea2da2 100644 --- a/cmd/scw/testdata/test-all-usage-instance-security-group-create-rule-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-security-group-create-rule-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-security-group-create-usage.golden b/cmd/scw/testdata/test-all-usage-instance-security-group-create-usage.golden index caf8d90e70..8e20b727be 100644 --- a/cmd/scw/testdata/test-all-usage-instance-security-group-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-security-group-create-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-security-group-delete-rule-usage.golden b/cmd/scw/testdata/test-all-usage-instance-security-group-delete-rule-usage.golden index 138f32c410..8b69157c0a 100644 --- a/cmd/scw/testdata/test-all-usage-instance-security-group-delete-rule-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-security-group-delete-rule-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-security-group-delete-usage.golden b/cmd/scw/testdata/test-all-usage-instance-security-group-delete-usage.golden index 8a3df0c413..c648c961de 100644 --- a/cmd/scw/testdata/test-all-usage-instance-security-group-delete-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-security-group-delete-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-security-group-edit-usage.golden b/cmd/scw/testdata/test-all-usage-instance-security-group-edit-usage.golden index 96b7d85d49..9e91a22aee 100644 --- a/cmd/scw/testdata/test-all-usage-instance-security-group-edit-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-security-group-edit-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-security-group-get-rule-usage.golden b/cmd/scw/testdata/test-all-usage-instance-security-group-get-rule-usage.golden index 8838f9879e..fbf424fec6 100644 --- a/cmd/scw/testdata/test-all-usage-instance-security-group-get-rule-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-security-group-get-rule-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-security-group-get-usage.golden b/cmd/scw/testdata/test-all-usage-instance-security-group-get-usage.golden index 53217a3f84..ada18ae5da 100644 --- a/cmd/scw/testdata/test-all-usage-instance-security-group-get-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-security-group-get-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-security-group-list-default-rules-usage.golden b/cmd/scw/testdata/test-all-usage-instance-security-group-list-default-rules-usage.golden index be22436883..1c8f1a90df 100644 --- a/cmd/scw/testdata/test-all-usage-instance-security-group-list-default-rules-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-security-group-list-default-rules-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-security-group-list-rules-usage.golden b/cmd/scw/testdata/test-all-usage-instance-security-group-list-rules-usage.golden index 24d758e8c9..d2b687c14a 100644 --- a/cmd/scw/testdata/test-all-usage-instance-security-group-list-rules-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-security-group-list-rules-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-security-group-list-usage.golden b/cmd/scw/testdata/test-all-usage-instance-security-group-list-usage.golden index f7f12b0596..c320ee8dcf 100644 --- a/cmd/scw/testdata/test-all-usage-instance-security-group-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-security-group-list-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-security-group-set-rules-usage.golden b/cmd/scw/testdata/test-all-usage-instance-security-group-set-rules-usage.golden index e88b68e313..9447205321 100644 --- a/cmd/scw/testdata/test-all-usage-instance-security-group-set-rules-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-security-group-set-rules-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-security-group-update-rule-usage.golden b/cmd/scw/testdata/test-all-usage-instance-security-group-update-rule-usage.golden index 724eaa3344..a35036dfd4 100644 --- a/cmd/scw/testdata/test-all-usage-instance-security-group-update-rule-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-security-group-update-rule-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-security-group-update-usage.golden b/cmd/scw/testdata/test-all-usage-instance-security-group-update-usage.golden index 453794874e..231fc507ca 100644 --- a/cmd/scw/testdata/test-all-usage-instance-security-group-update-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-security-group-update-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-security-group-usage.golden b/cmd/scw/testdata/test-all-usage-instance-security-group-usage.golden index 79825b571f..2961243b67 100644 --- a/cmd/scw/testdata/test-all-usage-instance-security-group-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-security-group-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-server-action-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-action-usage.golden index df099b1cde..13f39e2476 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-action-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-action-usage.golden @@ -23,7 +23,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 available actions for a server diff --git a/cmd/scw/testdata/test-all-usage-instance-server-attach-filesystem-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-attach-filesystem-usage.golden index 66f0501377..5f7f8c416c 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-attach-filesystem-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-attach-filesystem-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-server-attach-ip-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-attach-ip-usage.golden index 7f8ff2bc6e..168164e5df 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-attach-ip-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-attach-ip-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-server-attach-volume-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-attach-volume-usage.golden index a54af23bbc..1cce7ac953 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-attach-volume-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-attach-volume-usage.golden @@ -20,4 +20,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 diff --git a/cmd/scw/testdata/test-all-usage-instance-server-backup-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-backup-usage.golden index 6c34907674..10400a24be 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-backup-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-backup-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-server-console-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-console-usage.golden index a7e68cf50c..647332b4b5 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-console-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-console-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-server-create-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-create-usage.golden index 0691828529..0dd99f4a53 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-create-usage.golden @@ -57,7 +57,7 @@ ARGS: FLAGS: -h, --help help for create -w, --wait wait until the server is ready - --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 diff --git a/cmd/scw/testdata/test-all-usage-instance-server-delete-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-delete-usage.golden index 4ac5510edb..1df49cbc78 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-delete-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-delete-usage.golden @@ -28,7 +28,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: # Terminate a running server diff --git a/cmd/scw/testdata/test-all-usage-instance-server-detach-filesystem-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-detach-filesystem-usage.golden index a576b15ee5..68d62dbebd 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-detach-filesystem-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-detach-filesystem-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-server-detach-ip-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-detach-ip-usage.golden index f759a61aab..194ae65367 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-detach-ip-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-detach-ip-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-server-detach-volume-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-detach-volume-usage.golden index 011597bb3f..74f5574f0c 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-detach-volume-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-detach-volume-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-server-enable-routed-ip-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-enable-routed-ip-usage.golden index 507e72896f..55a7ddc7f6 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-enable-routed-ip-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-enable-routed-ip-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-server-get-compatible-types-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-get-compatible-types-usage.golden index 0dfa7682b9..2a49e30048 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-get-compatible-types-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-get-compatible-types-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-server-get-rdp-password-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-get-rdp-password-usage.golden index 53779e6716..d7f52c2019 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-get-rdp-password-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-get-rdp-password-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-server-get-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-get-usage.golden index 53b2839612..d7edc08760 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-get-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-get-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-server-list-actions-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-list-actions-usage.golden index c8d2f4d6b5..3c0a3576fb 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-list-actions-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-list-actions-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-server-list-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-list-usage.golden index 71d1138259..7709ca5da9 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-list-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-server-reboot-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-reboot-usage.golden index db9ab502bd..966a07e919 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-reboot-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-reboot-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-server-ssh-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-ssh-usage.golden index c438f22b22..32c97a51b2 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-ssh-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-ssh-usage.golden @@ -20,4 +20,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 diff --git a/cmd/scw/testdata/test-all-usage-instance-server-standby-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-standby-usage.golden index 983550fe60..3e9fd338c3 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-standby-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-standby-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-server-start-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-start-usage.golden index 7cffd78c4f..0a7aba3273 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-start-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-start-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-server-stop-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-stop-usage.golden index 9a6221bfac..bdf9efff83 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-stop-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-stop-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-server-terminate-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-terminate-usage.golden index 6b7d88569e..6c4b6a11ba 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-terminate-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-terminate-usage.golden @@ -30,7 +30,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: # delete a running server diff --git a/cmd/scw/testdata/test-all-usage-instance-server-type-get-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-type-get-usage.golden index 475f420220..74bd52c21f 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-type-get-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-type-get-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-server-type-list-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-type-list-usage.golden index 35014c0444..29a7460a30 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-type-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-type-list-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-server-type-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-type-usage.golden index da34f18411..bb2edceba2 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-type-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-type-usage.golden @@ -18,6 +18,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 server-type [command] --help" for more information about a command. diff --git a/cmd/scw/testdata/test-all-usage-instance-server-update-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-update-usage.golden index 0baee0b45b..934cea8638 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-update-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-update-usage.golden @@ -55,4 +55,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 diff --git a/cmd/scw/testdata/test-all-usage-instance-server-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-usage.golden index ea5e003c56..c86351fd11 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-usage.golden @@ -38,7 +38,7 @@ WORKFLOW COMMANDS: FLAGS: -h, --help help for server - --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 diff --git a/cmd/scw/testdata/test-all-usage-instance-server-wait-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-wait-usage.golden index 933cb9a294..ed3910bc0e 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-wait-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-wait-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-snapshot-apply-migration-usage.golden b/cmd/scw/testdata/test-all-usage-instance-snapshot-apply-migration-usage.golden index 02b8f6e942..3558d16283 100644 --- a/cmd/scw/testdata/test-all-usage-instance-snapshot-apply-migration-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-snapshot-apply-migration-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-snapshot-create-usage.golden b/cmd/scw/testdata/test-all-usage-instance-snapshot-create-usage.golden index 7d031c711d..05ec86021d 100644 --- a/cmd/scw/testdata/test-all-usage-instance-snapshot-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-snapshot-create-usage.golden @@ -39,4 +39,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 diff --git a/cmd/scw/testdata/test-all-usage-instance-snapshot-delete-usage.golden b/cmd/scw/testdata/test-all-usage-instance-snapshot-delete-usage.golden index 526a4c1813..d581ce35b8 100644 --- a/cmd/scw/testdata/test-all-usage-instance-snapshot-delete-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-snapshot-delete-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-snapshot-export-usage.golden b/cmd/scw/testdata/test-all-usage-instance-snapshot-export-usage.golden index cbfa73474f..49e8762ce7 100644 --- a/cmd/scw/testdata/test-all-usage-instance-snapshot-export-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-snapshot-export-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-snapshot-get-usage.golden b/cmd/scw/testdata/test-all-usage-instance-snapshot-get-usage.golden index de5ed654ed..5de2428a35 100644 --- a/cmd/scw/testdata/test-all-usage-instance-snapshot-get-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-snapshot-get-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-snapshot-list-usage.golden b/cmd/scw/testdata/test-all-usage-instance-snapshot-list-usage.golden index 3b456dd02d..c0a630aadc 100644 --- a/cmd/scw/testdata/test-all-usage-instance-snapshot-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-snapshot-list-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-snapshot-plan-migration-usage.golden b/cmd/scw/testdata/test-all-usage-instance-snapshot-plan-migration-usage.golden index f9f5fb5e33..92ae92a1bc 100644 --- a/cmd/scw/testdata/test-all-usage-instance-snapshot-plan-migration-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-snapshot-plan-migration-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-snapshot-update-usage.golden b/cmd/scw/testdata/test-all-usage-instance-snapshot-update-usage.golden index 48b57aaf3a..86e84969e6 100644 --- a/cmd/scw/testdata/test-all-usage-instance-snapshot-update-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-snapshot-update-usage.golden @@ -20,4 +20,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 diff --git a/cmd/scw/testdata/test-all-usage-instance-snapshot-usage.golden b/cmd/scw/testdata/test-all-usage-instance-snapshot-usage.golden index edc6d0ddcd..db499f3edb 100644 --- a/cmd/scw/testdata/test-all-usage-instance-snapshot-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-snapshot-usage.golden @@ -29,7 +29,7 @@ WORKFLOW COMMANDS: FLAGS: -h, --help help for snapshot - --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 diff --git a/cmd/scw/testdata/test-all-usage-instance-snapshot-wait-usage.golden b/cmd/scw/testdata/test-all-usage-instance-snapshot-wait-usage.golden index 4e6cabd7ca..eae0d6d729 100644 --- a/cmd/scw/testdata/test-all-usage-instance-snapshot-wait-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-snapshot-wait-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-ssh-add-key-usage.golden b/cmd/scw/testdata/test-all-usage-instance-ssh-add-key-usage.golden index c0957da3c2..e0043732e1 100644 --- a/cmd/scw/testdata/test-all-usage-instance-ssh-add-key-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-ssh-add-key-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-ssh-fetch-keys-usage.golden b/cmd/scw/testdata/test-all-usage-instance-ssh-fetch-keys-usage.golden index 83580018ed..460bfe3498 100644 --- a/cmd/scw/testdata/test-all-usage-instance-ssh-fetch-keys-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-ssh-fetch-keys-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-ssh-install-config-usage.golden b/cmd/scw/testdata/test-all-usage-instance-ssh-install-config-usage.golden index 6d3b02fffb..d711ab8043 100644 --- a/cmd/scw/testdata/test-all-usage-instance-ssh-install-config-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-ssh-install-config-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-ssh-list-keys-usage.golden b/cmd/scw/testdata/test-all-usage-instance-ssh-list-keys-usage.golden index 6b7b6d8748..914341c8b3 100644 --- a/cmd/scw/testdata/test-all-usage-instance-ssh-list-keys-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-ssh-list-keys-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-ssh-remove-key-usage.golden b/cmd/scw/testdata/test-all-usage-instance-ssh-remove-key-usage.golden index edbd517d6e..1ff52c6cbe 100644 --- a/cmd/scw/testdata/test-all-usage-instance-ssh-remove-key-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-ssh-remove-key-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-ssh-usage.golden b/cmd/scw/testdata/test-all-usage-instance-ssh-usage.golden index f0d732d3e4..220f2f5441 100644 --- a/cmd/scw/testdata/test-all-usage-instance-ssh-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-ssh-usage.golden @@ -25,6 +25,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 ssh [command] --help" for more information about a command. diff --git a/cmd/scw/testdata/test-all-usage-instance-usage.golden b/cmd/scw/testdata/test-all-usage-instance-usage.golden index dd3638d873..fafd697aeb 100644 --- a/cmd/scw/testdata/test-all-usage-instance-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-usage.golden @@ -21,7 +21,7 @@ AVAILABLE COMMANDS: FLAGS: -h, --help help for instance - --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 diff --git a/cmd/scw/testdata/test-all-usage-instance-user-data-delete-usage.golden b/cmd/scw/testdata/test-all-usage-instance-user-data-delete-usage.golden index 615be5e614..5bf8fd70de 100644 --- a/cmd/scw/testdata/test-all-usage-instance-user-data-delete-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-user-data-delete-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-user-data-get-usage.golden b/cmd/scw/testdata/test-all-usage-instance-user-data-get-usage.golden index 640962c563..f3721691ab 100644 --- a/cmd/scw/testdata/test-all-usage-instance-user-data-get-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-user-data-get-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-user-data-list-usage.golden b/cmd/scw/testdata/test-all-usage-instance-user-data-list-usage.golden index b68c009dbd..738c470be8 100644 --- a/cmd/scw/testdata/test-all-usage-instance-user-data-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-user-data-list-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-user-data-set-usage.golden b/cmd/scw/testdata/test-all-usage-instance-user-data-set-usage.golden index 3e9d47ee57..79604d045c 100644 --- a/cmd/scw/testdata/test-all-usage-instance-user-data-set-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-user-data-set-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-user-data-usage.golden b/cmd/scw/testdata/test-all-usage-instance-user-data-usage.golden index 0b51604804..a53bcaf17e 100644 --- a/cmd/scw/testdata/test-all-usage-instance-user-data-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-user-data-usage.golden @@ -29,6 +29,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 user-data [command] --help" for more information about a command. diff --git a/cmd/scw/testdata/test-all-usage-instance-volume-apply-migration-usage.golden b/cmd/scw/testdata/test-all-usage-instance-volume-apply-migration-usage.golden index 6360428ee5..2db578e744 100644 --- a/cmd/scw/testdata/test-all-usage-instance-volume-apply-migration-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-volume-apply-migration-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-volume-create-usage.golden b/cmd/scw/testdata/test-all-usage-instance-volume-create-usage.golden index f31e17ae7d..b48568c69d 100644 --- a/cmd/scw/testdata/test-all-usage-instance-volume-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-volume-create-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-volume-delete-usage.golden b/cmd/scw/testdata/test-all-usage-instance-volume-delete-usage.golden index 047e3619a0..e068ac24cd 100644 --- a/cmd/scw/testdata/test-all-usage-instance-volume-delete-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-volume-delete-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-volume-get-usage.golden b/cmd/scw/testdata/test-all-usage-instance-volume-get-usage.golden index bc13eb7962..60124d53f0 100644 --- a/cmd/scw/testdata/test-all-usage-instance-volume-get-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-volume-get-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-volume-list-usage.golden b/cmd/scw/testdata/test-all-usage-instance-volume-list-usage.golden index e6ef4ddba9..d1326cadfb 100644 --- a/cmd/scw/testdata/test-all-usage-instance-volume-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-volume-list-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-volume-plan-migration-usage.golden b/cmd/scw/testdata/test-all-usage-instance-volume-plan-migration-usage.golden index f0314178a4..d6b370d891 100644 --- a/cmd/scw/testdata/test-all-usage-instance-volume-plan-migration-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-volume-plan-migration-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-volume-type-list-usage.golden b/cmd/scw/testdata/test-all-usage-instance-volume-type-list-usage.golden index 5732df561b..c4c1717d30 100644 --- a/cmd/scw/testdata/test-all-usage-instance-volume-type-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-volume-type-list-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-volume-type-usage.golden b/cmd/scw/testdata/test-all-usage-instance-volume-type-usage.golden index 233ddaec09..8bf72f5ef4 100644 --- a/cmd/scw/testdata/test-all-usage-instance-volume-type-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-volume-type-usage.golden @@ -17,6 +17,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 volume-type [command] --help" for more information about a command. diff --git a/cmd/scw/testdata/test-all-usage-instance-volume-update-usage.golden b/cmd/scw/testdata/test-all-usage-instance-volume-update-usage.golden index 3d00200864..733afa532b 100644 --- a/cmd/scw/testdata/test-all-usage-instance-volume-update-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-volume-update-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-instance-volume-usage.golden b/cmd/scw/testdata/test-all-usage-instance-volume-usage.golden index 398dd08fff..729bb0a56a 100644 --- a/cmd/scw/testdata/test-all-usage-instance-volume-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-volume-usage.golden @@ -39,7 +39,7 @@ WORKFLOW COMMANDS: FLAGS: -h, --help help for volume - --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 diff --git a/cmd/scw/testdata/test-all-usage-instance-volume-wait-usage.golden b/cmd/scw/testdata/test-all-usage-instance-volume-wait-usage.golden index 7e9b2a9c7e..121c5e8492 100644 --- a/cmd/scw/testdata/test-all-usage-instance-volume-wait-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-volume-wait-usage.golden @@ -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 diff --git a/cmd/scw/testdata/test-all-usage-jobs-definition-delete-usage.golden b/cmd/scw/testdata/test-all-usage-jobs-definition-delete-usage.golden index b65a4167db..45b7fa3e44 100644 --- a/cmd/scw/testdata/test-all-usage-jobs-definition-delete-usage.golden +++ b/cmd/scw/testdata/test-all-usage-jobs-definition-delete-usage.golden @@ -1,6 +1,6 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -Delete an exsisting job definition by its unique identifier. +Delete an existing job definition by its unique identifier. USAGE: scw jobs definition delete [arg=value ...] diff --git a/cmd/scw/testdata/test-all-usage-jobs-definition-usage.golden b/cmd/scw/testdata/test-all-usage-jobs-definition-usage.golden index 3df40a62ab..d7f69bb1b0 100644 --- a/cmd/scw/testdata/test-all-usage-jobs-definition-usage.golden +++ b/cmd/scw/testdata/test-all-usage-jobs-definition-usage.golden @@ -5,7 +5,7 @@ USAGE: AVAILABLE COMMANDS: create Create a new job definition in a specified Project - delete Delete an exsisting job definition by its unique identifier + delete Delete an existing job definition by its unique identifier get Get a job definition by its unique identifier list List all your job definitions with filters start Run an existing job definition by its unique identifier. This will create a new job run diff --git a/cmd/scw/testdata/test-all-usage-mnq-sns-get-info-usage.golden b/cmd/scw/testdata/test-all-usage-mnq-sns-get-info-usage.golden index faf5788194..ee334757d4 100644 --- a/cmd/scw/testdata/test-all-usage-mnq-sns-get-info-usage.golden +++ b/cmd/scw/testdata/test-all-usage-mnq-sns-get-info-usage.golden @@ -1,6 +1,6 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -Retrieve the Topics and Events information of the specified Project ID. Informations include the activation status and the Topics and Events API endpoint URL. +Retrieve the Topics and Events information of the specified Project ID. Information include the activation status and the Topics and Events API endpoint URL. USAGE: scw mnq sns get-info [arg=value ...] diff --git a/cmd/scw/testdata/test-all-usage-mnq-sqs-get-info-usage.golden b/cmd/scw/testdata/test-all-usage-mnq-sqs-get-info-usage.golden index f7530c5100..b22758e380 100644 --- a/cmd/scw/testdata/test-all-usage-mnq-sqs-get-info-usage.golden +++ b/cmd/scw/testdata/test-all-usage-mnq-sqs-get-info-usage.golden @@ -1,6 +1,6 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -Retrieve the Queues information of the specified Project ID. Informations include the activation status and the Queues API endpoint URL. +Retrieve the Queues information of the specified Project ID. Information include the activation status and the Queues API endpoint URL. USAGE: scw mnq sqs get-info [arg=value ...] diff --git a/core/autocomplete.go b/core/autocomplete.go index a4993116bc..74f72bb69d 100644 --- a/core/autocomplete.go +++ b/core/autocomplete.go @@ -467,7 +467,7 @@ func isFlag(wordToComplete string) bool { } // hasPrefix will look if the word to complete prefixes the given key. -// It also handle complexe key schema such as slices and maps. E.g.: +// It also handles complex key schema such as slices and maps. E.g.: // `security-gr` prefixes `security-group-id` // `image-ids.0` prefixes `image-ids.{index}` // `volumes.0.s` prefixes `volumes.{index}.size` diff --git a/core/autocomplete_test.go b/core/autocomplete_test.go index a83b93ded7..b571072bfe 100644 --- a/core/autocomplete_test.go +++ b/core/autocomplete_test.go @@ -72,7 +72,7 @@ func testAutocompleteGetCommands() *core.Commands { Verb: "deprecated", ArgsType: reflect.TypeOf(struct{}{}), Deprecated: true, - Short: "this command is deprected", + Short: "this command is deprecated", Long: "This command is deprecated and should not show up in autocomplete.", }, ) diff --git a/core/cobra_builder.go b/core/cobra_builder.go index 02a93898a5..e51e79bc31 100644 --- a/core/cobra_builder.go +++ b/core/cobra_builder.go @@ -184,7 +184,7 @@ func (b *cobraBuilder) hydrateCobra( } if commandHasWeb(cmd) { - cobraCmd.PersistentFlags().Bool("web", false, "open console page for the current ressource") + cobraCmd.PersistentFlags().Bool("web", false, "open console page for the current resource") } } diff --git a/core/error.go b/core/error.go index c45a2e37f8..baef3c8784 100644 --- a/core/error.go +++ b/core/error.go @@ -16,14 +16,14 @@ type CliError struct { Err error // Message allow to override the red message shown to the use. - // By default we will use Err.String() but in same case you may want to keep Err - // to avoid loosing detail in json output. + // By default, we will use Err.String() but in same case you may want to keep Err + // to avoid losing detail in json output. Message string Details string Hint string - // Code allows to return a sepcific error code from the main binary. + // Code allows to return a specific error code from the main binary. Code int // Empty tells the marshaler to not print any message for the error diff --git a/core/printer.go b/core/printer.go index fbb0733c03..54511f9c31 100644 --- a/core/printer.go +++ b/core/printer.go @@ -111,7 +111,7 @@ func setupJSONPrinter(printer *Printer, opts string) error { case "": default: return fmt.Errorf( - "invalid option %s for json outout. Valid options are: %s", + "invalid option %s for json output. Valid options are: %s", opts, PrinterOptJSONPretty, ) diff --git a/docs/commands/apple-silicon.md b/docs/commands/apple-silicon.md index d4e732fb99..a091df9b24 100644 --- a/docs/commands/apple-silicon.md +++ b/docs/commands/apple-silicon.md @@ -289,7 +289,7 @@ scw apple-silicon server reboot [arg=value ...] ### Reinstall a server -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:** diff --git a/docs/commands/container.md b/docs/commands/container.md index df93ec7b91..31389b76f6 100644 --- a/docs/commands/container.md +++ b/docs/commands/container.md @@ -250,7 +250,7 @@ scw container cron create [arg=value ...] | Name | | Description | |------|---|-------------| | 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 | Default: `fr-par`
One of: `fr-par`, `nl-ams`, `pl-waw` | Region to target. If none is passed will use default region from the config | diff --git a/docs/commands/dns.md b/docs/commands/dns.md index c9d28e6a2e..2d4b2fde73 100644 --- a/docs/commands/dns.md +++ b/docs/commands/dns.md @@ -81,7 +81,7 @@ scw dns certificate delete [arg=value ...] ### Get a DNS zone's TLS certificate -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:** diff --git a/docs/commands/function.md b/docs/commands/function.md index 5016ee4207..f73a680801 100644 --- a/docs/commands/function.md +++ b/docs/commands/function.md @@ -202,7 +202,7 @@ scw function domain create [arg=value ...] | Name | | Description | |------|---|-------------| -| hostname | | Hostame to create | +| hostname | | Hostname to create | | function-id | | UUID of the function to associate the domain with | | region | Default: `fr-par`
One of: `fr-par`, `nl-ams`, `pl-waw` | Region to target. If none is passed will use default region from the config | diff --git a/docs/commands/iam.md b/docs/commands/iam.md index a6551599f5..fa5069792e 100644 --- a/docs/commands/iam.md +++ b/docs/commands/iam.md @@ -793,7 +793,7 @@ scw iam policy delete [arg=value ...] ### Get an existing policy -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:** diff --git a/docs/commands/jobs.md b/docs/commands/jobs.md index 293fc9badf..d91b631889 100644 --- a/docs/commands/jobs.md +++ b/docs/commands/jobs.md @@ -4,7 +4,7 @@ This API allows you to manage your Serverless Jobs. - [](#) - [Create a new job definition in a specified Project](#create-a-new-job-definition-in-a-specified-project) - - [Delete an exsisting job definition by its unique identifier](#delete-an-exsisting-job-definition-by-its-unique-identifier) + - [Delete an existing job definition by its unique identifier](#delete-an-existing-job-definition-by-its-unique-identifier) - [Get a job definition by its unique identifier](#get-a-job-definition-by-its-unique-identifier) - [List all your job definitions with filters](#list-all-your-job-definitions-with-filters) - [Run an existing job definition by its unique identifier. This will create a new job run](#run-an-existing-job-definition-by-its-unique-identifier.-this-will-create-a-new-job-run) @@ -58,9 +58,9 @@ scw jobs definition create [arg=value ...] -### Delete an exsisting job definition by its unique identifier +### Delete an existing job definition by its unique identifier -Delete an exsisting job definition by its unique identifier. +Delete an existing job definition by its unique identifier. **Usage:** diff --git a/docs/commands/mnq.md b/docs/commands/mnq.md index c13c36a32a..e7556a820e 100644 --- a/docs/commands/mnq.md +++ b/docs/commands/mnq.md @@ -369,7 +369,7 @@ scw mnq sns get-credentials [arg=value ...] ### Get Topics and Events info -Retrieve the Topics and Events information of the specified Project ID. Informations include the activation status and the Topics and Events API endpoint URL. +Retrieve the Topics and Events information of the specified Project ID. Information include the activation status and the Topics and Events API endpoint URL. **Usage:** @@ -543,7 +543,7 @@ scw mnq sqs get-credentials [arg=value ...] ### Get Queues info -Retrieve the Queues information of the specified Project ID. Informations include the activation status and the Queues API endpoint URL. +Retrieve the Queues information of the specified Project ID. Information include the activation status and the Queues API endpoint URL. **Usage:** diff --git a/docs/migration_guide_v2.md b/docs/migration_guide_v2.md index 96df77d479..ea9d2516dd 100644 --- a/docs/migration_guide_v2.md +++ b/docs/migration_guide_v2.md @@ -77,7 +77,7 @@ Actions are organized around a set of verbs such as `list`, `get`, `create`, `up ### Automated code generation -CLI v1 did not take advantage of code generation features to easily create supports like in SDKs and other developper tools. +CLI v1 did not take advantage of code generation features to easily create supports like in SDKs and other developer tools. We invested in our code generation features to be able to synchronize support and fixes across all our tools: diff --git a/internal/gofields/gofields.go b/internal/gofields/gofields.go index 3e629ccc59..ccdff74e5a 100644 --- a/internal/gofields/gofields.go +++ b/internal/gofields/gofields.go @@ -204,7 +204,7 @@ func listFields(t reflect.Type, parents []string, filter ListFieldFilter) []stri } } -// IsNil test if a given value is nil. It is saf to call the mthod with non nillable value like scalar types +// IsNil test if a given value is nil. It is saf to call the method with non nillable value like scalar types func IsNil(value reflect.Value) bool { return (value.Kind() == reflect.Ptr || value.Kind() == reflect.Slice || value.Kind() == reflect.Map) && value.IsNil() diff --git a/internal/gotty/client.go b/internal/gotty/client.go index 291adc0a30..237a218b79 100644 --- a/internal/gotty/client.go +++ b/internal/gotty/client.go @@ -75,7 +75,7 @@ func (c *Client) Connect() error { defer cns.Reset() //nolint:errcheck defer cns.Close() - // Create a chanel that will receive all resizes signals + // Create a channel that will receive all resizes signals resizeChan := make(chan bool, 1) unsubscribe := subscribeToResize(resizeChan) defer unsubscribe() diff --git a/internal/namespaces/alias/testdata/test-alias-multiple-words.golden b/internal/namespaces/alias/testdata/test-alias-multiple-words.golden index 71d1138259..7709ca5da9 100644 --- a/internal/namespaces/alias/testdata/test-alias-multiple-words.golden +++ b/internal/namespaces/alias/testdata/test-alias-multiple-words.golden @@ -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 diff --git a/internal/namespaces/alias/testdata/test-alias-one-word-aliases.golden b/internal/namespaces/alias/testdata/test-alias-one-word-aliases.golden index 1ac80fefc0..6acf8fdcc9 100644 --- a/internal/namespaces/alias/testdata/test-alias-one-word-aliases.golden +++ b/internal/namespaces/alias/testdata/test-alias-one-word-aliases.golden @@ -48,4 +48,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 diff --git a/internal/namespaces/applesilicon/v1alpha1/applesilicon_cli.go b/internal/namespaces/applesilicon/v1alpha1/applesilicon_cli.go index 0ef4165640..39eb82d746 100644 --- a/internal/namespaces/applesilicon/v1alpha1/applesilicon_cli.go +++ b/internal/namespaces/applesilicon/v1alpha1/applesilicon_cli.go @@ -553,7 +553,7 @@ func appleSiliconServerReboot() *core.Command { func appleSiliconServerReinstall() *core.Command { return &core.Command{ Short: `Reinstall a server`, - Long: `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).`, + Long: `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).`, Namespace: "apple-silicon", Resource: "server", Verb: "reinstall", diff --git a/internal/namespaces/autocomplete/autocomplete_test.go b/internal/namespaces/autocomplete/autocomplete_test.go index f3424f1913..bfaa537f44 100644 --- a/internal/namespaces/autocomplete/autocomplete_test.go +++ b/internal/namespaces/autocomplete/autocomplete_test.go @@ -9,27 +9,27 @@ import ( func TestTrimText(t *testing.T) { type testCase struct { - Script string - TrimedScript string + Script string + TrimmedScript string } run := func(tc *testCase) func(*testing.T) { return func(t *testing.T) { t.Helper() result := autocomplete.TrimText(tc.Script) - assert.Equal(t, tc.TrimedScript, result) + assert.Equal(t, tc.TrimmedScript, result) } } t.Run("empty script", run(&testCase{ - Script: "", - TrimedScript: "", + Script: "", + TrimmedScript: "", })) t.Run("no indentation on first line", run(&testCase{ Script: `aaaaa bb bb bbbbb ccccccccc`, - TrimedScript: `aaaaa + TrimmedScript: `aaaaa bb bb bbbbb ccccccccc`, })) @@ -40,7 +40,7 @@ func TestTrimText(t *testing.T) { ccccccccc `, - TrimedScript: `aaaaa + TrimmedScript: `aaaaa b bbbbbbbb ccccccccc`, })) @@ -51,7 +51,7 @@ func TestTrimText(t *testing.T) { ccccccc cc `, - TrimedScript: `aaa aa + TrimmedScript: `aaa aa bb bbbbbbb ccccccc cc`, })) @@ -66,7 +66,7 @@ func TestTrimText(t *testing.T) { } complete -F _scw scw `, - TrimedScript: `_scw() + TrimmedScript: `_scw() { output=$(scw autocomplete complete bash "$COMP_LINE" "$COMP_CWORD" "${COMP_WORDS[@]}") COMPREPLY=($output) diff --git a/internal/namespaces/baremetal/v1/custome_server_delete.go b/internal/namespaces/baremetal/v1/custom_server_delete.go similarity index 100% rename from internal/namespaces/baremetal/v1/custome_server_delete.go rename to internal/namespaces/baremetal/v1/custom_server_delete.go diff --git a/internal/namespaces/config/commands.go b/internal/namespaces/config/commands.go index fbb70236fe..3a5c0010f6 100644 --- a/internal/namespaces/config/commands.go +++ b/internal/namespaces/config/commands.go @@ -612,11 +612,11 @@ func configInfoCommand() *core.Command { // Search for env variable that will override profile // Will be used to display them - overridedVariables := []string(nil) + overriddenVariables := []string(nil) for _, key := range getProfileKeys() { value, err := getProfileField(profileEnv, key) if err == nil && !value.IsZero() { - overridedVariables = append(overridedVariables, key) + overriddenVariables = append(overriddenVariables, key) } } @@ -637,9 +637,9 @@ func configInfoCommand() *core.Command { } } - if len(overridedVariables) > 0 { + if len(overriddenVariables) > 0 { msg := "Some variables are overridden by the environment: " + strings.Join( - overridedVariables, + overriddenVariables, ", ", ) fmt.Println(terminal.Style(msg, color.FgRed)) diff --git a/internal/namespaces/container/v1beta1/container_cli.go b/internal/namespaces/container/v1beta1/container_cli.go index 8b0c414eac..0a22732dcd 100644 --- a/internal/namespaces/container/v1beta1/container_cli.go +++ b/internal/namespaces/container/v1beta1/container_cli.go @@ -1184,7 +1184,7 @@ func containerCronCreate() *core.Command { }, { Name: "schedule", - Short: `UNIX cron shedule`, + Short: `UNIX cron schedule`, Required: false, Deprecated: false, Positional: false, diff --git a/internal/namespaces/container/v1beta1/custom_deploy_test.go b/internal/namespaces/container/v1beta1/custom_deploy_test.go index 10a235d457..909f4bc304 100644 --- a/internal/namespaces/container/v1beta1/custom_deploy_test.go +++ b/internal/namespaces/container/v1beta1/custom_deploy_test.go @@ -60,7 +60,7 @@ func mkdirAllBeforeFunc(path string) func(ctx *core.BeforeFuncCtx) error { func Test_Deploy(t *testing.T) { if runtime.GOOS == "windows" { - t.Skip("Skipping test on Windows because of flakyness") + t.Skip("Skipping test on Windows because of flakiness") } appName := "cli-t-ctnr-deploy" path := t.TempDir() diff --git a/internal/namespaces/domain/v2beta1/domain_cli.go b/internal/namespaces/domain/v2beta1/domain_cli.go index 2af1a5f474..6bbb6d0752 100644 --- a/internal/namespaces/domain/v2beta1/domain_cli.go +++ b/internal/namespaces/domain/v2beta1/domain_cli.go @@ -1384,7 +1384,7 @@ func dnsVersionRestore() *core.Command { func dnsCertificateGet() *core.Command { return &core.Command{ Short: `Get a DNS zone's TLS certificate`, - Long: `Get the DNS zone's TLS certificate. If you do not have a certificate, the ouptut returns ` + "`" + `no certificate found` + "`" + `.`, + Long: `Get the DNS zone's TLS certificate. If you do not have a certificate, the output returns ` + "`" + `no certificate found` + "`" + `.`, Namespace: "dns", Resource: "certificate", Verb: "get", diff --git a/internal/namespaces/function/v1beta1/function_cli.go b/internal/namespaces/function/v1beta1/function_cli.go index 909237dad6..28b0cf8508 100644 --- a/internal/namespaces/function/v1beta1/function_cli.go +++ b/internal/namespaces/function/v1beta1/function_cli.go @@ -1471,7 +1471,7 @@ func functionDomainCreate() *core.Command { ArgSpecs: core.ArgSpecs{ { Name: "hostname", - Short: `Hostame to create`, + Short: `Hostname to create`, Required: false, Deprecated: false, Positional: false, diff --git a/internal/namespaces/iam/v1alpha1/iam_cli.go b/internal/namespaces/iam/v1alpha1/iam_cli.go index 3f784add3f..366a0e3321 100644 --- a/internal/namespaces/iam/v1alpha1/iam_cli.go +++ b/internal/namespaces/iam/v1alpha1/iam_cli.go @@ -1793,7 +1793,7 @@ func iamPolicyCreate() *core.Command { func iamPolicyGet() *core.Command { return &core.Command{ Short: `Get an existing policy`, - Long: `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.`, + Long: `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.`, Namespace: "iam", Resource: "policy", Verb: "get", diff --git a/internal/namespaces/instance/v1/custom_image.go b/internal/namespaces/instance/v1/custom_image.go index c4df7bed35..188bedb3df 100644 --- a/internal/namespaces/instance/v1/custom_image.go +++ b/internal/namespaces/instance/v1/custom_image.go @@ -51,7 +51,7 @@ func imagesMarshalerFunc(i any, _ *human.MarshalOpt) (string, error) { images := i.([]*imageListItem) humanImages := []*humanImage(nil) for _, image := range images { - // For each image we want to display a list of volume size sepatated with `,` + // For each image we want to display a list of volume size separated with `,` // e.g: 10 GB, 20 GB volumes := []scw.Size{ image.RootVolume.Size, diff --git a/internal/namespaces/iot/v1/custom.go b/internal/namespaces/iot/v1/custom.go index c5e953ea39..dd7d035531 100644 --- a/internal/namespaces/iot/v1/custom.go +++ b/internal/namespaces/iot/v1/custom.go @@ -22,11 +22,11 @@ func GetCommands() *core.Commands { ) human.RegisterMarshalerFunc( &iot.CreateNetworkResponse{}, - iotNetworkCreateResponsedMarshalerFunc, + iotNetworkCreateResponseMarshalerFunc, ) human.RegisterMarshalerFunc( &iot.CreateDeviceResponse{}, - iotDeviceCreateResponsedMarshalerFunc, + iotDeviceCreateResponseMarshalerFunc, ) cmds.MustFind("iot", "hub", "create").Override(hubCreateBuilder) diff --git a/internal/namespaces/iot/v1/custom_device.go b/internal/namespaces/iot/v1/custom_device.go index b8d0535d03..474edafdfb 100644 --- a/internal/namespaces/iot/v1/custom_device.go +++ b/internal/namespaces/iot/v1/custom_device.go @@ -31,7 +31,7 @@ var ( } ) -func iotDeviceCreateResponsedMarshalerFunc(i any, opt *human.MarshalOpt) (string, error) { +func iotDeviceCreateResponseMarshalerFunc(i any, opt *human.MarshalOpt) (string, error) { type tmp iot.CreateDeviceResponse deviceCreateResponse := tmp(*i.(*iot.CreateDeviceResponse)) diff --git a/internal/namespaces/iot/v1/custom_network.go b/internal/namespaces/iot/v1/custom_network.go index 1c541067c6..1f87e116b6 100644 --- a/internal/namespaces/iot/v1/custom_network.go +++ b/internal/namespaces/iot/v1/custom_network.go @@ -9,7 +9,7 @@ import ( "github.com/scaleway/scaleway-sdk-go/api/iot/v1" ) -func iotNetworkCreateResponsedMarshalerFunc(i any, opt *human.MarshalOpt) (string, error) { +func iotNetworkCreateResponseMarshalerFunc(i any, opt *human.MarshalOpt) (string, error) { type tmp iot.CreateNetworkResponse networkCreateResponse := tmp(*i.(*iot.CreateNetworkResponse)) diff --git a/internal/namespaces/jobs/v1alpha1/jobs_cli.go b/internal/namespaces/jobs/v1alpha1/jobs_cli.go index ac0779cc09..78cecc8c7f 100644 --- a/internal/namespaces/jobs/v1alpha1/jobs_cli.go +++ b/internal/namespaces/jobs/v1alpha1/jobs_cli.go @@ -383,8 +383,8 @@ func jobsDefinitionUpdate() *core.Command { func jobsDefinitionDelete() *core.Command { return &core.Command{ - Short: `Delete an exsisting job definition by its unique identifier`, - Long: `Delete an exsisting job definition by its unique identifier.`, + Short: `Delete an existing job definition by its unique identifier`, + Long: `Delete an existing job definition by its unique identifier.`, Namespace: "jobs", Resource: "definition", Verb: "delete", diff --git a/internal/namespaces/k8s/v1/types/types.go b/internal/namespaces/k8s/v1/types/types.go index af3a135bde..588e2ac192 100644 --- a/internal/namespaces/k8s/v1/types/types.go +++ b/internal/namespaces/k8s/v1/types/types.go @@ -36,13 +36,13 @@ type Config struct { // +k8s:conversion-gen=false // +optional APIVersion string `json:"apiVersion,omitempty"` - // Preferences holds general information to be use for cli interactions + // Preferences holds general information to be used for cli interactions Preferences Preferences `json:"preferences"` - // Clusters is a map of referencable names to cluster configs + // Clusters is a map of referenceable names to cluster configs Clusters []NamedCluster `json:"clusters"` - // AuthInfos is a map of referencable names to user configs + // AuthInfos is a map of referenceable names to user configs AuthInfos []NamedAuthInfo `json:"users"` - // Contexts is a map of referencable names to context configs + // Contexts is a map of referenceable names to context configs Contexts []NamedContext `json:"contexts"` // CurrentContext is the name of the context that you would like to use by default CurrentContext string `json:"current-context"` diff --git a/internal/namespaces/lb/v1/custom_certificate.go b/internal/namespaces/lb/v1/custom_certificate.go index afed70abe0..ed43195340 100644 --- a/internal/namespaces/lb/v1/custom_certificate.go +++ b/internal/namespaces/lb/v1/custom_certificate.go @@ -40,17 +40,17 @@ func lbCertificateMarshalerFunc(i any, opt *human.MarshalOpt) (string, error) { func certificateCreateBuilder(c *core.Command) *core.Command { leCommonNameArgSpecs := c.ArgSpecs.GetByName("letsencrypt.common-name") leAlternativeNames := c.ArgSpecs.GetByName("letsencrypt.subject-alternative-name.{index}") - customeCertificateArgSpecs := c.ArgSpecs.GetByName("custom-certificate.certificate-chain") + customCertificateArgSpecs := c.ArgSpecs.GetByName("custom-certificate.certificate-chain") leCommonNameArgSpecs.Required = false leCommonNameArgSpecs.Name = "letsencrypt-common-name" - leCommonNameArgSpecs.ConflictWith(customeCertificateArgSpecs) + leCommonNameArgSpecs.ConflictWith(customCertificateArgSpecs) leAlternativeNames.Name = "letsencrypt-alternative-name.{index}" - leCommonNameArgSpecs.ConflictWith(customeCertificateArgSpecs) + leCommonNameArgSpecs.ConflictWith(customCertificateArgSpecs) - customeCertificateArgSpecs.Name = "custom-certificate-chain" - customeCertificateArgSpecs.Required = false + customCertificateArgSpecs.Name = "custom-certificate-chain" + customCertificateArgSpecs.Required = false type lbCreateCertificateRequestCustom struct { Zone scw.Zone `json:"-"` @@ -119,7 +119,7 @@ func certificateCreateBuilder(c *core.Command) *core.Command { Hint: fmt.Sprintf( "You need to specify %s or %s", leCommonNameArgSpecs.Name, - customeCertificateArgSpecs.Name, + customCertificateArgSpecs.Name, ), Code: 1, } diff --git a/internal/namespaces/mnq/v1beta1/mnq_cli.go b/internal/namespaces/mnq/v1beta1/mnq_cli.go index 0ec22ae81d..2078595bf8 100644 --- a/internal/namespaces/mnq/v1beta1/mnq_cli.go +++ b/internal/namespaces/mnq/v1beta1/mnq_cli.go @@ -501,7 +501,7 @@ func mnqSnsActivate() *core.Command { func mnqSnsGetInfo() *core.Command { return &core.Command{ Short: `Get Topics and Events info`, - Long: `Retrieve the Topics and Events information of the specified Project ID. Informations include the activation status and the Topics and Events API endpoint URL.`, + Long: `Retrieve the Topics and Events information of the specified Project ID. Information include the activation status and the Topics and Events API endpoint URL.`, Namespace: "mnq", Resource: "sns", Verb: "get-info", @@ -830,7 +830,7 @@ func mnqSqsActivate() *core.Command { func mnqSqsGetInfo() *core.Command { return &core.Command{ Short: `Get Queues info`, - Long: `Retrieve the Queues information of the specified Project ID. Informations include the activation status and the Queues API endpoint URL.`, + Long: `Retrieve the Queues information of the specified Project ID. Information include the activation status and the Queues API endpoint URL.`, Namespace: "mnq", Resource: "sqs", Verb: "get-info", diff --git a/internal/namespaces/mnq/v1beta1/testdata/test-create-context-with-interative-term-and-multi-account-multi-nats-account-and-no-id.cassette.yaml b/internal/namespaces/mnq/v1beta1/testdata/test-create-context-with-interactive-term-and-multi-account-multi-nats-account-and-no-id.cassette.yaml similarity index 100% rename from internal/namespaces/mnq/v1beta1/testdata/test-create-context-with-interative-term-and-multi-account-multi-nats-account-and-no-id.cassette.yaml rename to internal/namespaces/mnq/v1beta1/testdata/test-create-context-with-interactive-term-and-multi-account-multi-nats-account-and-no-id.cassette.yaml diff --git a/internal/namespaces/mnq/v1beta1/testdata/test-create-context-with-interative-term-and-multi-account-multi-nats-account-and-no-id.golden b/internal/namespaces/mnq/v1beta1/testdata/test-create-context-with-interactive-term-and-multi-account-multi-nats-account-and-no-id.golden similarity index 100% rename from internal/namespaces/mnq/v1beta1/testdata/test-create-context-with-interative-term-and-multi-account-multi-nats-account-and-no-id.golden rename to internal/namespaces/mnq/v1beta1/testdata/test-create-context-with-interactive-term-and-multi-account-multi-nats-account-and-no-id.golden diff --git a/internal/pkg/shlex/shlex.go b/internal/pkg/shlex/shlex.go index 63108215df..47975e81e2 100644 --- a/internal/pkg/shlex/shlex.go +++ b/internal/pkg/shlex/shlex.go @@ -55,7 +55,7 @@ type runeTokenClass int // the internal state used by the lexer state machine type lexerState int -// Token is a (type, value) pair representing a lexographical token. +// Token is a (type, value) pair representing a lexicographical token. type Token struct { tokenType TokenType value string @@ -95,7 +95,7 @@ const ( eofRuneClass ) -// Classes of lexographic token +// Classes of lexicographic token const ( UnknownToken TokenType = iota WordToken diff --git a/scripts/lint.sh b/scripts/lint.sh index aa248b0ec7..30edf7f70d 100755 --- a/scripts/lint.sh +++ b/scripts/lint.sh @@ -64,7 +64,7 @@ do OPT_FLAGS+=" -v" ;; *) - color red "Unkown argument '$1'" + color red "Unknown argument '$1'" echo usage 1 ;; esac