twc-rs project
Manage projects
| Subcommand | Description |
|---|---|
list | List all projects |
create | Create a new project |
delete | Delete a project by ID |
set | Update a project’s name and/or description |
resources | List all resources in a project |
twc-rs project list
List all projects
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs project create
Create a new project
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
--name | Project name (max 255 chars) | yes | ||
--description | Project description (max 255 chars) | |||
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs project delete
Delete a project by ID
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
--id | Project ID | yes | ||
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs project set
Update a project’s name and/or description
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
--id | Project ID | yes | ||
--name | New project name (max 255 chars) | |||
--description | New project description (max 255 chars) | |||
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs project resources
List all resources in a project
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
--id | Project ID | yes | ||
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |