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