Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

twc-rs config

Configure twc-rs settings

SubcommandDescription
showShow the current configuration
set-tokenSet the API token (for the default profile, or a named one)
profilesList configured profile names
set-languageSet the UI language (en or ru)

twc-rs config show

Show the current configuration

ArgumentDescriptionRequiredEnvDefault
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable
-t, --tokenAPI token override (overrides config file and TWC_TOKEN env)TWC_TOKEN
--profileUse a named profile’s token from the config fileTWC_PROFILE

twc-rs config set-token

Set the API token (for the default profile, or a named one)

ArgumentDescriptionRequiredEnvDefault
--tokenThe Timeweb Cloud API tokenyes
--profileStore the token under this profile name instead of the default
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable

twc-rs config profiles

List configured profile names

ArgumentDescriptionRequiredEnvDefault
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable
-t, --tokenAPI token override (overrides config file and TWC_TOKEN env)TWC_TOKEN
--profileUse a named profile’s token from the config fileTWC_PROFILE

twc-rs config set-language

Set the UI language (en or ru)

ArgumentDescriptionRequiredEnvDefault
<LANGUAGE>Language codeyes
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable
-t, --tokenAPI token override (overrides config file and TWC_TOKEN env)TWC_TOKEN
--profileUse a named profile’s token from the config fileTWC_PROFILE