Files
coder/docs/reference/cli/templates_presets_list.md
Susana Ferreira 4e7331a9c4 feat(cli): support description in create and presets list CLI commands (#19079)
## 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
2025-07-29 16:59:26 +01:00

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.