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

A fast, single-binary CLI and interactive TUI dashboard for Timeweb Cloud.

Servers, databases, S3, Kubernetes, balancers, domains, firewalls, apps and more — managed from one native binary. No Python, no pip, no virtualenv.

twc-rs dashboard demo

Highlights

Cold start~2 ms (the official Python CLI needs ~350 ms)
Footprintone static 15 MB binary, no runtime dependencies
Dashboardlive k9s-style TUI with per-resource metrics
Coveragenear-full parity with the official CLI
Completionsbash, zsh, fish, powershell, elvish, nushell — plus dynamic live-value completion
LanguagesEnglish and Russian, CLI and TUI

The CLI reference section of this book is generated directly from the command definitions on every deploy, so it always matches the released code.

Installation

Every channel ships with the TUI dashboard enabled by default.

ChannelCommand
crates.iocargo install twc-rs
Installer (Linux/macOS)curl -fsSL https://raw.githubusercontent.com/RAprogramm/twc-rs/main/install.sh | sh
Arch (AUR)paru -S twc-rs-bin
Debian/Ubuntusudo apt install ./twc-rs_<ver>_amd64.deb
Releasesdownload from GitHub Releases, verify the .sha256

For a lean, headless CLI without the TUI:

cargo install twc-rs --no-default-features --features auth

Supported platforms

OSArchitectures
Linux (glibc)x86_64, aarch64
macOSx86_64, aarch64 (Apple Silicon)
Windowsx86_64

Run twc-rs doctor after installing to detect conflicting copies in PATH.

Authentication

twc-rs auth flow                       # guided browser flow, stored in the OS keyring
# or
twc-rs config set-token --token <TOKEN>

The token is resolved in this order:

  1. --token flag
  2. TWC_TOKEN environment variable
  3. OS keyring
  4. config file (~/.config/twc-rs/config.toml)

Profiles

Multiple accounts are supported via named profiles:

twc-rs config set-token --profile staging --token <TOKEN>
twc-rs --profile staging server list

The active profile can also be switched from inside the dashboard.

Usage

Every resource type is a subcommand; run twc-rs <group> --help to see its actions and flags — the help screens are colorized.

twc-rs apps list demo

twc-rs server list                        # list cloud servers
twc-rs server info --id 12345             # server details
twc-rs database list -f json              # JSON output
twc-rs ssh attach --server 12345 --key 42 # attach an SSH key to a server
twc-rs project resources --id 678         # drill into a project
twc-rs apps logs my-api --today           # app runtime logs by name or ID
twc-rs apps list-deploys my-api           # deploy history, newest first
twc-rs doctor                             # detect conflicting installs in PATH
twc-rs dashboard                          # interactive TUI (k9s-style)

Per-app commands accept either the app name or its numeric ID.

Global flags

FlagEnvMeaning
-f, --format <table|json|yaml|quiet>TWC_OUTPUToutput format (default table)
-t, --token <TOKEN>TWC_TOKENAPI token override
--profile <NAME>TWC_PROFILEnamed profile for multi-account setups

The full, always-current list of commands is in the CLI reference.

Dashboard (TUI)

The headline feature the official Python CLI does not have: a live, k9s-style TUI.

twc-rs dashboard

twc-rs dashboard demo

Keys

KeyAction
h / lswitch resource tabs
j / kmove selection
Enteropen the action menu / drill into a resource
ncreate a new resource (where supported)
/filter the current list
Ctrl+Kcommand palette — actions, theme, language, profile switch
?help overlay
Qquit

Features

  • Context action menu per resource (reboot / shutdown / clone / delete) with a confirmation step for destructive actions.
  • Create resources and switch the account profile without leaving the dashboard.
  • Live per-resource metrics (CPU / RAM / network sparklines) fetched off the UI thread, so input never blocks on the network.
  • Drill into a project to see its resources; live event log.
  • Customizable layout, hide-empty-tabs, four true-color themes and EN/RU — all persisted to the config file.

Shell completions

Static scripts

twc-rs completions nushell > ~/.config/nushell/completions/twc-rs.nu
twc-rs completions zsh     > ~/.zfunc/_twc-rs
twc-rs completions bash    > /etc/bash_completion.d/twc-rs

Supported shells: bash, zsh, fish, powershell, elvish, nushell. The AUR package installs completions into the standard vendor directories.

Dynamic completions

The dynamic engine also completes live valuestwc-rs apps logs <TAB> offers your actual apps by name and ID, fetched from the API (silently skipped when offline).

twc-rs dynamic completion demo

ShellAdd to
bashecho 'source <(COMPLETE=bash twc-rs)' >> ~/.bashrc
zshecho 'source <(COMPLETE=zsh twc-rs)' >> ~/.zshrc
fishecho 'COMPLETE=fish twc-rs | source' >> ~/.config/fish/config.fish
elvishecho 'eval (E:COMPLETE=elvish twc-rs | slurp)' >> ~/.elvish/rc.elv
powershell$env:COMPLETE = "powershell"; twc-rs | Out-String | Invoke-Expression; Remove-Item Env:\COMPLETE in $PROFILE

Nushell keeps the static script — the dynamic engine does not support it yet.

twc-rs vs the official Timeweb CLI — measured comparison

A head-to-head against the official Python CLI timeweb-cloud/twc. Every performance number below is produced live by benches/compare.sh — nothing here is hand-written or estimated. Re-run it yourself to reproduce.

Test environment

CPUAMD Ryzen AI MAX+ 395 (32 threads)
Memory62 GiB
OS / kernelLinux 7.1.2 (x86_64)
Rust toolchainrustc 1.96.0 (release build, --features tui, stripped)
Official CLItwc-cli v2.15.2, in a clean virtualenv on Python 3.14.6
Sampling50 runs per measurement, mean reported, one warm-up discarded
Startup metric--version / --help (no network — pure process start)
Memory metricpeak RSS via getrusage(RUSAGE_CHILDREN)

Reproduce:

cargo build --release --features tui
python3 -m venv /tmp/twcbench && /tmp/twcbench/bin/pip install twc-cli
benches/compare.sh ./target/release/twc-rs /tmp/twcbench/bin/twc

Performance — twc-rs wins on every axis

Metrictwc-rsofficial twcAdvantage
Cold start (--version)2.3 ms357.3 ms≈155× faster
Cold start (--help)2.1 ms347.4 ms≈165× faster
Peak memory (RSS)13.7 MB59.2 MB≈4.3× less
On-disk size15 MB, one static binary33 MB of packages + a Python interpretersmaller, self-contained
Runtime dependenciessystem libc only15 PyPI packages + CPythonnone to install
Installcopy one filepip + Python toolchainno runtime needed

The Python tool spends ~350 ms loading the interpreter and importing its dependency tree before any application code runs; twc-rs is a native binary, so the same invocation completes in single-digit milliseconds.

Capabilities only twc-rs has

Featuretwc-rsofficial
Interactive TUI dashboard (k9s-style)yesno
Live per-resource metrics (CPU / RAM / network)yesno
Create / delete resources from the dashboardyesno
Switch account profile from the dashboardyesno
Localization — English + Russian (CLI & TUI)yesEnglish only
Named profiles (--profile)yesyes
Installation self-check (doctor finds conflicting copies in PATH)yesno
Address apps by name, not just numeric IDyesno
Dynamic shell completion of live resource values (app names/IDs from the API)yesno
Shell completionsbash, zsh, fish, powershell, elvish, nushellbash, zsh, fish, powershell

Command coverage

Near-complete parity with the official CLI across all resource groups (accounting for naming: ssh-keyssh, storages3, clusterkubernetes, balancer backendbalancer ip-*):

GroupStatus
accountfull — status, finances (show), access restrictions
appsfull — list, info, create, delete, presets, repositories, vcs-providers, logs (--tail/--since/--today), list-deploys, deploy-logs; per-app commands accept the app name or ID
balancerfull — list/info/create/update/delete, rules, IPs (backends), presets
databasefull — list/info/create/update/delete, backups, users, presets, types, instances
domainfull — list/info/add/delete, DNS records, subdomains, name servers
firewallfull — groups, rules, resource link/unlink
imagefull — list, info, create, set, delete, upload
ipfull — list, info, create, attach, detach, set, delete
kubernetesfull — clusters, node groups, nodes, addons, presets, versions, network drivers
projectfull — list, create, set, delete, resources
serverlist, info, create, set, clone, delete, reboot, start, shutdown, reset-password, resize, reinstall, disk, ip, history, backup-list, backup-create, set-nat-mode, set-boot-mode, list-presets/os/software/configurators
ssh-keyfull — list, add (upload), info, edit, delete, attach/detach key to a server
storage (s3)full — buckets, users, subdomains, transfer, presets, genconfig
vpcfull — list, info, create, set, delete, ports

The single uncovered command is server vnc — Timeweb’s API has no VNC endpoint at all (it is absent from the OpenAPI spec), so there is nothing to call. image upload was missing only because the upstream spec omitted the request body; that defect was fixed in the timeweb-rs normalizer (0.3.0) and the command now works. Custom server configurators (CPU/RAM/disk arrays) remain behind the common preset path. The TUI dashboard additionally exposes delete / power / clone management for every integer-id resource.

Engineering quality

Lintsclean under clippy pedantic + nursery, no #[allow] crutches
Tasksnon-blocking UI — data fetched off the render thread
SDKgenerated from the official OpenAPI spec via timeweb-rs; spec defects fixed in a normalizer pass, never by hand-editing generated code
Deprecationszero — migrated to the current v2/cluster endpoints

CLI reference

Generated from the clap command definitions by cargo run --bin docgen; do not edit by hand.

CommandDescription
serverManage cloud servers
sshManage SSH keys
projectManage projects
databaseManage databases
s3Manage S3 storages
kubernetesManage Kubernetes clusters
registryManage container registries
balancerManage load balancers
domainManage domains
firewallManage firewall groups
appsManage cloud apps
imageManage disk images
ipManage floating IPs
vpcManage virtual networks (VPC)
accountShow account information
configConfigure twc-rs settings
authAuthenticate with Timeweb Cloud (guided browser flow)
dashboardOpen the interactive dashboard
completionsGenerate a shell completion script (print to stdout)
doctorCheck the local installation for conflicting copies in PATH
updateCheck for a newer release and update via the detected install channel

twc-rs server

Manage cloud servers

SubcommandDescription
listList all cloud servers
infoShow detailed info for a server
deleteDelete a server by ID
rebootReboot a server by ID
startPower a server on
shutdownGracefully shut a server down
cloneClone a server by ID
reset-passwordReset a server’s root password
list-presetsList available server presets
list-osList installable OS images
list-softwareList available pre-installable software
list-configuratorsList server configurators (custom builds)
diskList the disks attached to a server
ipList the IP addresses of a server
historyShow the recent action history (logs) of a server
set-nat-modeSet the NAT mode of a server’s local network
set-boot-modeSet the OS boot mode of a server (restarts the server)
resizeResize a server to a different preset
reinstallReinstall the OS of a server (wipes data)
createCreate a new cloud server from a preset and OS image
setUpdate a server’s name and/or comment
backup-listList disk backups of a server
backup-createCreate a disk backup of a server’s system disk

twc-rs server list

List all cloud servers

ArgumentDescriptionRequiredEnvDefault
--limitMaximum number of servers to return
--offsetNumber of servers to skip
-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 server info

Show detailed info for a server

ArgumentDescriptionRequiredEnvDefault
--idServer IDyes
-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 server delete

Delete a server by ID

ArgumentDescriptionRequiredEnvDefault
--idServer IDyes
-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 server reboot

Reboot a server by ID

ArgumentDescriptionRequiredEnvDefault
--idServer IDyes
-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 server start

Power a server on

ArgumentDescriptionRequiredEnvDefault
--idServer IDyes
-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 server shutdown

Gracefully shut a server down

ArgumentDescriptionRequiredEnvDefault
--idServer IDyes
-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 server clone

Clone a server by ID

ArgumentDescriptionRequiredEnvDefault
--idServer IDyes
-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 server reset-password

Reset a server’s root password

ArgumentDescriptionRequiredEnvDefault
--idServer IDyes
-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 server list-presets

List available server presets

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 server list-os

List installable OS images

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 server list-software

List available pre-installable software

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 server list-configurators

List server configurators (custom builds)

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 server disk

List the disks attached to a server

ArgumentDescriptionRequiredEnvDefault
--idServer IDyes
-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 server ip

List the IP addresses of a server

ArgumentDescriptionRequiredEnvDefault
--idServer IDyes
-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 server history

Show the recent action history (logs) of a server

ArgumentDescriptionRequiredEnvDefault
--idServer IDyes
-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 server set-nat-mode

Set the NAT mode of a server’s local network

ArgumentDescriptionRequiredEnvDefault
--idServer IDyes
--nat-modeOne of: dnat_and_snat, snat, no_natyes
-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 server set-boot-mode

Set the OS boot mode of a server (restarts the server)

ArgumentDescriptionRequiredEnvDefault
--idServer IDyes
--boot-modeOne of: default, single, recovery_diskyes
-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 server resize

Resize a server to a different preset

ArgumentDescriptionRequiredEnvDefault
--idServer IDyes
--preset-idTarget preset IDyes
-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 server reinstall

Reinstall the OS of a server (wipes data)

ArgumentDescriptionRequiredEnvDefault
--idServer IDyes
--os-idOS image ID to installyes
-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 server create

Create a new cloud server from a preset and OS image

ArgumentDescriptionRequiredEnvDefault
--nameServer name (max 255 chars)yes
--preset-idPreset (tariff) ID. Use server list-presets to listyes
--os-idOS image ID. Use server list-os to listyes
--commentOptional comment (max 255 chars)
--ssh-keySSH key IDs to attach (repeatable)
--project-idProject ID to place the server in
--availability-zoneAvailability zone (e.g. spb-1, msk-1, ams-1)
-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 server set

Update a server’s name and/or comment

ArgumentDescriptionRequiredEnvDefault
--idServer IDyes
--nameNew name
--commentNew comment
-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 server backup-list

List disk backups of a server

ArgumentDescriptionRequiredEnvDefault
--idServer IDyes
-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 server backup-create

Create a disk backup of a server’s system disk

ArgumentDescriptionRequiredEnvDefault
--idServer IDyes
--commentOptional backup comment
-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 ssh

Manage SSH keys

SubcommandDescription
listList all SSH keys
addAdd an SSH key from a file or stdin
deleteDelete an SSH key by ID
infoShow detailed information about an SSH key
editEdit an SSH key’s name and/or default flag
attachAttach existing SSH key(s) to a cloud server
detachDetach an SSH key from a cloud server

twc-rs ssh list

List all SSH keys

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 ssh add

Add an SSH key from a file or stdin

ArgumentDescriptionRequiredEnvDefault
--nameHuman-readable name for the keyyes
--filePath to the public key file. Reads from stdin if omitted
--defaultMark this key as default for new serversfalse
-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 ssh delete

Delete an SSH key by ID

ArgumentDescriptionRequiredEnvDefault
--idSSH key IDyes
-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 ssh info

Show detailed information about an SSH key

ArgumentDescriptionRequiredEnvDefault
--idSSH key IDyes
-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 ssh edit

Edit an SSH key’s name and/or default flag

ArgumentDescriptionRequiredEnvDefault
--idSSH key IDyes
--nameNew name for the key
--defaultMark this key as default for new servers
-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 ssh attach

Attach existing SSH key(s) to a cloud server

ArgumentDescriptionRequiredEnvDefault
--serverTarget server IDyes
--keySSH key ID to attach. Repeat to attach several at once
-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 ssh detach

Detach an SSH key from a cloud server

ArgumentDescriptionRequiredEnvDefault
--serverTarget server IDyes
--keySSH key ID to detachyes
-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 project

Manage projects

SubcommandDescription
listList all projects
createCreate a new project
deleteDelete a project by ID
setUpdate a project’s name and/or description
resourcesList all resources in a project

twc-rs project list

List all projects

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 project create

Create a new project

ArgumentDescriptionRequiredEnvDefault
--nameProject name (max 255 chars)yes
--descriptionProject description (max 255 chars)
-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 project delete

Delete a project by ID

ArgumentDescriptionRequiredEnvDefault
--idProject IDyes
-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 project set

Update a project’s name and/or description

ArgumentDescriptionRequiredEnvDefault
--idProject IDyes
--nameNew project name (max 255 chars)
--descriptionNew project description (max 255 chars)
-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 project resources

List all resources in a project

ArgumentDescriptionRequiredEnvDefault
--idProject IDyes
-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 database

Manage databases

SubcommandDescription
listList all databases
infoShow detailed info for a database
createCreate a new database
deleteDelete a database by ID
updateUpdate database settings
backup-listList backups for a database
backup-createCreate a backup for a database
user-listList users for a database
user-createCreate a user for a database
user-deleteDelete a user from a database
preset-listList available database presets
list-typesList available database cluster types (engines and versions)
list-instancesList individual database instances within a cluster

twc-rs database list

List all databases

ArgumentDescriptionRequiredEnvDefault
--limitMaximum number of databases to return
--offsetNumber of databases to skip
-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 database info

Show detailed info for a database

ArgumentDescriptionRequiredEnvDefault
--idDatabase IDyes
-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 database create

Create a new database

ArgumentDescriptionRequiredEnvDefault
--nameDatabase nameyes
--typeDatabase engine type (mysql, postgres, redis, mongodb, opensearch, clickhouse, kafka, rabbitmq)yes
-p, --preset-idPreset ID for the databaseyes
-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 database delete

Delete a database by ID

ArgumentDescriptionRequiredEnvDefault
--idDatabase IDyes
-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 database update

Update database settings

ArgumentDescriptionRequiredEnvDefault
--idDatabase IDyes
--nameNew database name
-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 database backup-list

List backups for a database

ArgumentDescriptionRequiredEnvDefault
--idDatabase IDyes
-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 database backup-create

Create a backup for a database

ArgumentDescriptionRequiredEnvDefault
--idDatabase IDyes
-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 database user-list

List users for a database

ArgumentDescriptionRequiredEnvDefault
--idDatabase IDyes
-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 database user-create

Create a user for a database

ArgumentDescriptionRequiredEnvDefault
--db-idDatabase IDyes
--loginDatabase user login nameyes
--passwordDatabase user passwordyes
-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 database user-delete

Delete a user from a database

ArgumentDescriptionRequiredEnvDefault
--db-idDatabase IDyes
--user-nameDatabase user login nameyes
-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 database preset-list

List available database presets

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 database list-types

List available database cluster types (engines and versions)

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 database list-instances

List individual database instances within a cluster

ArgumentDescriptionRequiredEnvDefault
--idDatabase cluster IDyes
-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 s3

Manage S3 storages

SubcommandDescription
listList all S3 storages
infoShow detailed info for a storage
createCreate a new S3 storage
deleteDelete a storage by ID
updateUpdate storage settings
user-listList users for a storage
user-updateUpdate a storage user
transferTransfer a storage
subdomain-listList subdomains for a storage
subdomain-addAdd a subdomain to a storage
subdomain-deleteDelete a subdomain from a storage
preset-listList available storage presets
genconfigPrint an s3cmd config file for a storage

twc-rs s3 list

List all S3 storages

ArgumentDescriptionRequiredEnvDefault
--limitMaximum number of storages to return
--offsetNumber of storages to skip
-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 s3 info

Show detailed info for a storage

ArgumentDescriptionRequiredEnvDefault
--idStorage IDyes
-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 s3 create

Create a new S3 storage

ArgumentDescriptionRequiredEnvDefault
--nameStorage nameyes
-p, --preset-idPreset ID for the storage
-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 s3 delete

Delete a storage by ID

ArgumentDescriptionRequiredEnvDefault
--idStorage IDyes
-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 s3 update

Update storage settings

ArgumentDescriptionRequiredEnvDefault
--idStorage IDyes
--descriptionNew storage description
-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 s3 user-list

List users for a storage

ArgumentDescriptionRequiredEnvDefault
--idStorage IDyes
-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 s3 user-update

Update a storage user

ArgumentDescriptionRequiredEnvDefault
--user-idStorage user IDyes
-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 s3 transfer

Transfer a storage

ArgumentDescriptionRequiredEnvDefault
--target-idTarget storage ID (reserved for future use)
-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 s3 subdomain-list

List subdomains for a storage

ArgumentDescriptionRequiredEnvDefault
--idStorage IDyes
-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 s3 subdomain-add

Add a subdomain to a storage

ArgumentDescriptionRequiredEnvDefault
--idStorage IDyes
--subdomainSubdomain nameyes
-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 s3 subdomain-delete

Delete a subdomain from a storage

ArgumentDescriptionRequiredEnvDefault
--idStorage IDyes
--subdomainSubdomain nameyes
-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 s3 preset-list

List available storage presets

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 s3 genconfig

Print an s3cmd config file for a storage

ArgumentDescriptionRequiredEnvDefault
--idStorage IDyes
-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 kubernetes

Manage Kubernetes clusters

SubcommandDescription
listList all Kubernetes clusters
infoShow detailed info for a cluster
createCreate a new Kubernetes cluster
deleteDelete a cluster by ID
updateUpdate cluster settings
nodegroup-listList node groups for a cluster
nodegroup-createCreate a node group for a cluster
nodegroup-deleteDelete a node group from a cluster
node-listList nodes for a cluster
addon-listList installed addons for a cluster
addon-installInstall an addon on a cluster
addon-deleteDelete an addon from a cluster
preset-listList available Kubernetes presets
version-listList available Kubernetes versions
network-driversList available Kubernetes network drivers
kubeconfigGet kubeconfig for a cluster
resourcesShow cluster resources (deprecated)

twc-rs kubernetes list

List all Kubernetes clusters

ArgumentDescriptionRequiredEnvDefault
--limitMaximum number of clusters to return
--offsetNumber of clusters to skip
-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 kubernetes info

Show detailed info for a cluster

ArgumentDescriptionRequiredEnvDefault
--idCluster IDyes
-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 kubernetes create

Create a new Kubernetes cluster

ArgumentDescriptionRequiredEnvDefault
--nameCluster nameyes
--typeKubernetes version (e.g., 1.30)yes
-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 kubernetes delete

Delete a cluster by ID

ArgumentDescriptionRequiredEnvDefault
--idCluster IDyes
-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 kubernetes update

Update cluster settings

ArgumentDescriptionRequiredEnvDefault
--idCluster IDyes
--nameNew cluster name
-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 kubernetes nodegroup-list

List node groups for a cluster

ArgumentDescriptionRequiredEnvDefault
--idCluster IDyes
-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 kubernetes nodegroup-create

Create a node group for a cluster

ArgumentDescriptionRequiredEnvDefault
--idCluster IDyes
--nameNode group nameyes
-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 kubernetes nodegroup-delete

Delete a node group from a cluster

ArgumentDescriptionRequiredEnvDefault
--idCluster IDyes
--group-idNode group IDyes
-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 kubernetes node-list

List nodes for a cluster

ArgumentDescriptionRequiredEnvDefault
--idCluster IDyes
-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 kubernetes addon-list

List installed addons for a cluster

ArgumentDescriptionRequiredEnvDefault
--idCluster IDyes
-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 kubernetes addon-install

Install an addon on a cluster

ArgumentDescriptionRequiredEnvDefault
--idCluster IDyes
--addon-nameAddon name (e.g., calico, metrics-server)yes
-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 kubernetes addon-delete

Delete an addon from a cluster

ArgumentDescriptionRequiredEnvDefault
--idCluster IDyes
--addon-nameAddon name to deleteyes
-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 kubernetes preset-list

List available Kubernetes presets

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 kubernetes version-list

List available Kubernetes versions

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 kubernetes network-drivers

List available Kubernetes network drivers

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 kubernetes kubeconfig

Get kubeconfig for a cluster

ArgumentDescriptionRequiredEnvDefault
--idCluster IDyes
-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 kubernetes resources

Show cluster resources (deprecated)

ArgumentDescriptionRequiredEnvDefault
--idCluster IDyes
-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 registry

Manage container registries

SubcommandDescription
listList all container registries
infoShow detailed info for a registry
createCreate a new container registry
deleteDelete a registry by ID
updateUpdate registry settings
repo-listList repositories for a registry
preset-listList available registry presets

twc-rs registry list

List all container registries

ArgumentDescriptionRequiredEnvDefault
--limitMaximum number of registries to return (not supported by API)
--offsetNumber of registries to skip (not supported by API)
-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 registry info

Show detailed info for a registry

ArgumentDescriptionRequiredEnvDefault
--idRegistry IDyes
-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 registry create

Create a new container registry

ArgumentDescriptionRequiredEnvDefault
--nameRegistry name (3-48 chars, lowercase alphanumeric and hyphens)yes
-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 registry delete

Delete a registry by ID

ArgumentDescriptionRequiredEnvDefault
--idRegistry IDyes
-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 registry update

Update registry settings

ArgumentDescriptionRequiredEnvDefault
--idRegistry IDyes
--descriptionNew registry description
-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 registry repo-list

List repositories for a registry

ArgumentDescriptionRequiredEnvDefault
--idRegistry IDyes
-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 registry preset-list

List available registry presets

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 balancer

Manage load balancers

SubcommandDescription
listList all balancers
infoShow detailed info for a balancer
createCreate a new balancer
deleteDelete a balancer by ID
updateUpdate balancer settings
rule-listList rules for a balancer
rule-createCreate a rule for a balancer
rule-deleteDelete a rule from a balancer
ip-listList IPs for a balancer
ip-addAdd an IP to a balancer
ip-removeRemove an IP from a balancer
preset-listList available balancer presets

twc-rs balancer list

List all balancers

ArgumentDescriptionRequiredEnvDefault
--limitMaximum number of balancers to return
--offsetNumber of balancers to skip
-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 balancer info

Show detailed info for a balancer

ArgumentDescriptionRequiredEnvDefault
--idBalancer IDyes
-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 balancer create

Create a new balancer

ArgumentDescriptionRequiredEnvDefault
--nameBalancer nameyes
-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 balancer delete

Delete a balancer by ID

ArgumentDescriptionRequiredEnvDefault
--idBalancer IDyes
-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 balancer update

Update balancer settings

ArgumentDescriptionRequiredEnvDefault
--idBalancer IDyes
--nameNew balancer name
-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 balancer rule-list

List rules for a balancer

ArgumentDescriptionRequiredEnvDefault
--idBalancer IDyes
-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 balancer rule-create

Create a rule for a balancer

ArgumentDescriptionRequiredEnvDefault
--idBalancer IDyes
-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 balancer rule-delete

Delete a rule from a balancer

ArgumentDescriptionRequiredEnvDefault
--idBalancer IDyes
--rule-idRule ID to deleteyes
-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 balancer ip-list

List IPs for a balancer

ArgumentDescriptionRequiredEnvDefault
--idBalancer IDyes
-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 balancer ip-add

Add an IP to a balancer

ArgumentDescriptionRequiredEnvDefault
--idBalancer IDyes
--ipIP address to addyes
-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 balancer ip-remove

Remove an IP from a balancer

ArgumentDescriptionRequiredEnvDefault
--idBalancer IDyes
--ipIP address to removeyes
-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 balancer preset-list

List available balancer presets

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 domain

Manage domains

SubcommandDescription
listList all domains on the account
infoShow detailed info for a domain
checkCheck if a domain is available for registration
addAdd a domain to the account
deleteDelete a domain from the account
dns-listList DNS records for a domain
dns-addAdd a DNS record to a domain
dns-deleteDelete a DNS record from a domain
dns-updateUpdate a DNS record on a domain
ns-listList name servers for a domain
ns-updateUpdate name servers for a domain
subdomain-listList subdomains for a domain
subdomain-addAdd a subdomain to a domain
subdomain-deleteDelete a subdomain from a domain
request-listList domain registration/transfer/prolongation requests
tld-listList available TLDs (top-level domains)
auto-prolongToggle auto-prolongation for a domain

twc-rs domain list

List all domains on the account

ArgumentDescriptionRequiredEnvDefault
--limitMaximum number of domains to return
--offsetNumber of domains to skip
-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 domain info

Show detailed info for a domain

ArgumentDescriptionRequiredEnvDefault
--idDomain FQDN (e.g., example.com)yes
-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 domain check

Check if a domain is available for registration

ArgumentDescriptionRequiredEnvDefault
--domainDomain name to check (e.g., example.com)yes
-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 domain add

Add a domain to the account

ArgumentDescriptionRequiredEnvDefault
--domainDomain FQDN to add (e.g., example.com)yes
-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 domain delete

Delete a domain from the account

ArgumentDescriptionRequiredEnvDefault
--idDomain FQDN to delete (e.g., example.com)yes
-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 domain dns-list

List DNS records for a domain

ArgumentDescriptionRequiredEnvDefault
--idDomain FQDN (e.g., example.com)yes
-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 domain dns-add

Add a DNS record to a domain

ArgumentDescriptionRequiredEnvDefault
--idDomain FQDN (e.g., example.com)yes
--record-typeDNS record type (A, AAAA, CNAME, MX, TXT, SRV)yes
--valueDNS record value (e.g., IP address for A record)yes
-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 domain dns-delete

Delete a DNS record from a domain

ArgumentDescriptionRequiredEnvDefault
--idDomain FQDN (e.g., example.com)yes
--record-idDNS record ID to deleteyes
-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 domain dns-update

Update a DNS record on a domain

ArgumentDescriptionRequiredEnvDefault
--idDomain FQDN (e.g., example.com)yes
--record-idDNS record ID to updateyes
--record-typeNew DNS record type (A, AAAA, CNAME, MX, TXT, SRV)yes
--valueNew DNS record valueyes
-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 domain ns-list

List name servers for a domain

ArgumentDescriptionRequiredEnvDefault
--idDomain FQDN (e.g., example.com)yes
-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 domain ns-update

Update name servers for a domain

ArgumentDescriptionRequiredEnvDefault
--idDomain FQDN (e.g., example.com)yes
-1, --ns1First name server (e.g., ns1.example.com)yes
-2, --ns2Second name server (e.g., ns2.example.com)yes
-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 domain subdomain-list

List subdomains for a domain

ArgumentDescriptionRequiredEnvDefault
--idDomain FQDN (e.g., example.com)yes
-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 domain subdomain-add

Add a subdomain to a domain

ArgumentDescriptionRequiredEnvDefault
--idDomain FQDN (e.g., example.com)yes
--nameSubdomain name (e.g., www)yes
-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 domain subdomain-delete

Delete a subdomain from a domain

ArgumentDescriptionRequiredEnvDefault
--idDomain FQDN (e.g., example.com)yes
--nameSubdomain name to delete (e.g., www)yes
-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 domain request-list

List domain registration/transfer/prolongation requests

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 domain tld-list

List available TLDs (top-level domains)

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 domain auto-prolong

Toggle auto-prolongation for a domain

ArgumentDescriptionRequiredEnvDefault
--idDomain FQDN (e.g., example.com)yes
--enabledEnable (true) or disable (false) auto-prolongationfalse
-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 firewall

Manage firewall groups

SubcommandDescription
listList all firewall groups
infoShow detailed info for a firewall group
createCreate a new firewall group
deleteDelete a firewall group by ID
updateUpdate firewall group settings
rule-listList rules for a firewall group
rule-createCreate a rule for a firewall group
rule-deleteDelete a rule from a firewall group
resource-listList resources for a firewall group
resource-addAdd a resource to a firewall group
resource-removeRemove a resource from a firewall group

twc-rs firewall list

List all firewall groups

ArgumentDescriptionRequiredEnvDefault
--limitMaximum number of groups to return
--offsetNumber of groups to skip
-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 firewall info

Show detailed info for a firewall group

ArgumentDescriptionRequiredEnvDefault
--idFirewall group IDyes
-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 firewall create

Create a new firewall group

ArgumentDescriptionRequiredEnvDefault
--nameGroup nameyes
-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 firewall delete

Delete a firewall group by ID

ArgumentDescriptionRequiredEnvDefault
--idFirewall group IDyes
-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 firewall update

Update firewall group settings

ArgumentDescriptionRequiredEnvDefault
--idFirewall group IDyes
--nameNew group name
-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 firewall rule-list

List rules for a firewall group

ArgumentDescriptionRequiredEnvDefault
--idFirewall group IDyes
-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 firewall rule-create

Create a rule for a firewall group

ArgumentDescriptionRequiredEnvDefault
--idFirewall group IDyes
-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 firewall rule-delete

Delete a rule from a firewall group

ArgumentDescriptionRequiredEnvDefault
--idFirewall group IDyes
--rule-idRule ID to deleteyes
-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 firewall resource-list

List resources for a firewall group

ArgumentDescriptionRequiredEnvDefault
--idFirewall group IDyes
-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 firewall resource-add

Add a resource to a firewall group

ArgumentDescriptionRequiredEnvDefault
--idFirewall group IDyes
--resource-idResource ID to addyes
-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 firewall resource-remove

Remove a resource from a firewall group

ArgumentDescriptionRequiredEnvDefault
--idFirewall group IDyes
--resource-idResource ID to removeyes
-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 apps

Manage cloud apps

SubcommandDescription
listList all cloud apps
infoShow detailed info for a single app
deleteDelete an app
list-presetsList available app presets (tariffs)
list-vcs-providersList configured VCS providers
list-repositoriesList repositories of a VCS provider
createCreate a new app from a connected VCS repository
logsShow runtime logs of an app
list-deploysList deploys of an app, newest first
deploy-logsShow build/deploy logs of a deploy (the latest one by default)

twc-rs apps list

List all cloud apps

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 apps info

Show detailed info for a single app

ArgumentDescriptionRequiredEnvDefault
<APP>App name or numeric ID
--idApp ID (legacy alias of the positional selector)
-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 apps delete

Delete an app

ArgumentDescriptionRequiredEnvDefault
<APP>App name or numeric ID
--idApp ID (legacy alias of the positional selector)
-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 apps list-presets

List available app presets (tariffs)

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 apps list-vcs-providers

List configured VCS providers

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 apps list-repositories

List repositories of a VCS provider

ArgumentDescriptionRequiredEnvDefault
--provider-idVCS provider IDyes
-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 apps create

Create a new app from a connected VCS repository

ArgumentDescriptionRequiredEnvDefault
--nameApp nameyes
--commentOptional comment
--provider-idVCS provider ID (UUID)yes
--repository-idRepository ID (UUID)yes
--preset-idPreset (tariff) IDyes
--typeApp type: backend or frontendyes
--frameworkFramework (e.g. docker, react, next.js, django)yes
--branchRepository branch to build frommain
--commit-shaSpecific commit SHA (defaults to latest on the branch)
--build-cmdBuild command
--run-cmdRun command (required for backend apps)
--index-dirIndex directory starting with ‘/’ (required for frontend apps)
--auto-deployEnable automatic deploy on pushfalse
--project-idOptional project ID to place the app in
-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 apps logs

Show runtime logs of an app

ArgumentDescriptionRequiredEnvDefault
<APP>App name or numeric ID
--idApp ID (legacy alias of the positional selector)
--tailShow only the last N lines (applied after date filters)
--sinceShow only lines logged at or after this moment; accepts YYYY-MM-DD (local midnight) or an RFC 3339 timestamp
--todayShow only lines logged today (local time)false
-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 apps list-deploys

List deploys of an app, newest first

ArgumentDescriptionRequiredEnvDefault
<APP>App name or numeric ID
--idApp ID (legacy alias of the positional selector)
-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 apps deploy-logs

Show build/deploy logs of a deploy (the latest one by default)

ArgumentDescriptionRequiredEnvDefault
<APP>App name or numeric ID
--idApp ID (legacy alias of the positional selector)
--deploy-idDeploy ID (UUID); defaults to the most recent deploy
--debugInclude debug outputfalse
-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 image

Manage disk images

SubcommandDescription
listList all disk images
infoShow detailed info for an image
createCreate a new image
setUpdate an image’s name
deleteDelete an image by ID
uploadUpload a local image file to an image

twc-rs image list

List all disk images

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 image info

Show detailed info for an image

ArgumentDescriptionRequiredEnvDefault
--idImage IDyes
-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 image create

Create a new image

ArgumentDescriptionRequiredEnvDefault
--nameImage nameyes
--locationLocation where the image is createdyes
-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 image set

Update an image’s name

ArgumentDescriptionRequiredEnvDefault
--idImage IDyes
--nameNew image name
-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 image delete

Delete an image by ID

ArgumentDescriptionRequiredEnvDefault
--idImage IDyes
-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 image upload

Upload a local image file to an image

ArgumentDescriptionRequiredEnvDefault
--idImage IDyes
--filePath to the local image fileyes
-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 ip

Manage floating IPs

SubcommandDescription
listList all floating IPs
infoShow detailed info about a floating IP
createCreate a new floating IP in an availability zone
attachAttach a floating IP to a resource
detachDetach a floating IP from its resource
setUpdate a floating IP’s comment
deleteDelete a floating IP by ID

twc-rs ip list

List all floating IPs

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 ip info

Show detailed info about a floating IP

ArgumentDescriptionRequiredEnvDefault
--idFloating IP IDyes
-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 ip create

Create a new floating IP in an availability zone

ArgumentDescriptionRequiredEnvDefault
--availability-zoneAvailability zone (e.g. spb-1, msk-1, ams-1)yes
-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 ip attach

Attach a floating IP to a resource

ArgumentDescriptionRequiredEnvDefault
--idFloating IP IDyes
--resource-idResource ID to bind toyes
-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 ip detach

Detach a floating IP from its resource

ArgumentDescriptionRequiredEnvDefault
--idFloating IP IDyes
-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 ip set

Update a floating IP’s comment

ArgumentDescriptionRequiredEnvDefault
--idFloating IP IDyes
--commentNew comment
-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 ip delete

Delete a floating IP by ID

ArgumentDescriptionRequiredEnvDefault
--idFloating IP IDyes
-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 vpc

Manage virtual networks (VPC)

SubcommandDescription
listList all virtual networks
infoShow detailed information about a VPC
createCreate a new VPC
setUpdate a VPC’s name and/or description
portsList network ports of a VPC
deleteDelete a VPC by ID

twc-rs vpc list

List all virtual networks

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 vpc info

Show detailed information about a VPC

ArgumentDescriptionRequiredEnvDefault
--idVPC IDyes
-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 vpc create

Create a new VPC

ArgumentDescriptionRequiredEnvDefault
--nameVPC nameyes
--subnet-v4IPv4 subnet mask (e.g. 192.168.0.0/24)yes
--locationLocation (e.g. ru-1)yes
-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 vpc set

Update a VPC’s name and/or description

ArgumentDescriptionRequiredEnvDefault
--idVPC IDyes
--nameNew name
--descriptionNew description
-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 vpc ports

List network ports of a VPC

ArgumentDescriptionRequiredEnvDefault
--idVPC IDyes
-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 vpc delete

Delete a VPC by ID

ArgumentDescriptionRequiredEnvDefault
--idVPC IDyes
-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 account

Show account information

SubcommandDescription
showShow account login, company and balance
accessShow account auth access restrictions (IP/country allow lists)

twc-rs account show

Show account login, company and balance

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 account access

Show account auth access restrictions (IP/country allow lists)

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

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

twc-rs auth

Authenticate with Timeweb Cloud (guided browser flow)

SubcommandDescription
flowRun the guided browser authentication flow
statusShow current authentication status
logoutRemove stored token from keyring and config
tokenAccept a token directly (for CI/CD)

twc-rs auth flow

Run the guided browser authentication flow

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 auth status

Show current authentication status

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 auth logout

Remove stored token from keyring and config

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 auth token

Accept a token directly (for CI/CD)

ArgumentDescriptionRequiredEnvDefault
--tokenThe API token to storeyes
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable
--profileUse a named profile’s token from the config fileTWC_PROFILE

twc-rs dashboard

Open the interactive dashboard

ArgumentDescriptionRequiredEnvDefault
-i, --intervalRefresh interval in seconds5
-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 completions

Generate a shell completion script (print to stdout)

ArgumentDescriptionRequiredEnvDefault
<SHELL>Target shellyes
-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 doctor

Check the local installation for conflicting copies in PATH

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 update

Check for a newer release and update via the detected install channel

ArgumentDescriptionRequiredEnvDefault
--checkOnly report the versions and the update command; install nothingfalse
-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