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
25 lines
739 B
Plaintext
25 lines
739 B
Plaintext
coder v0.0.0-devel
|
|
|
|
USAGE:
|
|
coder templates presets list [flags] <template>
|
|
|
|
List all presets of the specified template. Defaults to the active template
|
|
version.
|
|
|
|
OPTIONS:
|
|
-O, --org string, $CODER_ORGANIZATION
|
|
Select which organization (uuid or name) to use.
|
|
|
|
-c, --column [name|description|parameters|default|desired prebuild instances] (default: name,description,parameters,default,desired prebuild instances)
|
|
Columns to display in table output.
|
|
|
|
-o, --output table|json (default: table)
|
|
Output format.
|
|
|
|
--template-version string
|
|
Specify a template version to list presets for. Defaults to the active
|
|
version.
|
|
|
|
———
|
|
Run `coder --help` for a list of global options.
|