diff --git a/cmd/scw/testdata/test-all-usage-tem-domain-list-usage.golden b/cmd/scw/testdata/test-all-usage-tem-domain-list-usage.golden index b50dcf3dfc..9c7665b279 100644 --- a/cmd/scw/testdata/test-all-usage-tem-domain-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-tem-domain-list-usage.golden @@ -7,7 +7,7 @@ USAGE: ARGS: [project-id] (Optional) ID of the Project in which to list the domains - [status.{index}] (Optional) List domains under specific statuses (unknown | checked | unchecked | invalid | locked | revoked | pending) + [status.{index}] (Optional) List domains under specific statuses (unknown | checked | unchecked | invalid | locked | revoked | pending | autoconfiguring) [name] (Optional) Names of the domains to list [organization-id] (Optional) ID of the Organization in which to list the domains [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | all) diff --git a/docs/commands/tem.md b/docs/commands/tem.md index eb273fda06..099a519ae8 100644 --- a/docs/commands/tem.md +++ b/docs/commands/tem.md @@ -129,7 +129,7 @@ scw tem domain list [arg=value ...] | Name | | Description | |------|---|-------------| | project-id | | (Optional) ID of the Project in which to list the domains | -| status.{index} | One of: `unknown`, `checked`, `unchecked`, `invalid`, `locked`, `revoked`, `pending` | (Optional) List domains under specific statuses | +| status.{index} | One of: `unknown`, `checked`, `unchecked`, `invalid`, `locked`, `revoked`, `pending`, `autoconfiguring` | (Optional) List domains under specific statuses | | name | | (Optional) Names of the domains to list | | organization-id | | (Optional) ID of the Organization in which to list the domains | | region | Default: `fr-par`
One of: `fr-par`, `all` | Region to target. If none is passed will use default region from the config | diff --git a/internal/namespaces/tem/v1alpha1/tem_cli.go b/internal/namespaces/tem/v1alpha1/tem_cli.go index e35bb48df7..f75cb2c695 100644 --- a/internal/namespaces/tem/v1alpha1/tem_cli.go +++ b/internal/namespaces/tem/v1alpha1/tem_cli.go @@ -563,7 +563,7 @@ func temDomainList() *core.Command { Required: false, Deprecated: false, Positional: false, - EnumValues: []string{"unknown", "checked", "unchecked", "invalid", "locked", "revoked", "pending"}, + EnumValues: []string{"unknown", "checked", "unchecked", "invalid", "locked", "revoked", "pending", "autoconfiguring"}, }, { Name: "name",