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