twc-rs config
Configure twc-rs settings
| Subcommand | Description |
|---|---|
show | Show the current configuration |
set-token | Set the API token (for the default profile, or a named one) |
profiles | List configured profile names |
set-language | Set the UI language (en or ru) |
twc-rs config show
Show the current configuration
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs config set-token
Set the API token (for the default profile, or a named one)
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
--token | The Timeweb Cloud API token | yes | ||
--profile | Store the token under this profile name instead of the default | |||
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table |
twc-rs config profiles
List configured profile names
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs config set-language
Set the UI language (en or ru)
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
<LANGUAGE> | Language code | yes | ||
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |