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