mirror of
https://github.com/coder/coder.git
synced 2026-06-03 21:18:24 +00:00
4e7331a9c4
## Description This PR improves the `coder templates presets` and `coder create` CLI commands to include preset descriptions. ## Changes * Added a `description` column to the `coder templates presets list` CLI command. * Fixed the `-o json` output for `coder templates presets list` to correctly include and format data. * Updated the `coder create` CLI command to display the preset's description in the selection menu. Follow-up from: * https://github.com/coder/coder/pull/18910 * https://github.com/coder/coder/pull/18912 * https://github.com/coder/coder/pull/18977
1.3 KiB
Generated
1.3 KiB
Generated
templates presets list
List all presets of the specified template. Defaults to the active template version.
Usage
coder templates presets list [flags] <template>
Options
--template-version
| Type | string |
Specify a template version to list presets for. Defaults to the active version.
-O, --org
| Type | string |
| Environment | $CODER_ORGANIZATION |
Select which organization (uuid or name) to use.
-c, --column
| Type | [name|description|parameters|default|desired prebuild instances] |
| Default | name,description,parameters,default,desired prebuild instances |
Columns to display in table output.
-o, --output
| Type | table|json |
| Default | table |
Output format.