Files
coder/docs/cli/coder_templates_edit.md
Dean Sheather 66a6b590a1 feat: add template max_ttl (#6114)
Co-authored-by: Bruno Quaresma <bruno@coder.com>
2023-03-07 14:14:58 +00:00

1.1 KiB

coder templates edit

Edit the metadata of a template by name.

Usage

coder templates edit <template> [flags]

Flags

--allow-user-cancel-workspace-jobs

Allow users to cancel in-progress workspace jobs.

Default true

--default-ttl

Edit the template default time before shutdown - workspaces created from this template default to this value.

Default 0s

--description

Edit the template description.

--display-name

Edit the template display name.

--icon

Edit the template icon path.

--max-ttl

Edit the template maximum time before shutdown - workspaces created from this template must shutdown within the given duration after starting. This is an enterprise-only feature.

Default 0s

--name

Edit the template name.

--yes, -y

Bypass prompts

Default false