mirror of
https://github.com/coder/coder.git
synced 2026-06-04 13:38:21 +00:00
e33941b7c2
API only, frontend in upcoming PR.
2.1 KiB
2.1 KiB
templates edit
Edit the metadata of a template by name.
Usage
coder templates edit [flags] <template>
Options
--allow-user-autostart
| Type | bool |
| Default | true |
Allow users to configure autostart for workspaces on this template. This can only be disabled in enterprise.
--allow-user-autostop
| Type | bool |
| Default | true |
Allow users to customize the autostop TTL for workspaces on this template. This can only be disabled in enterprise.
--allow-user-cancel-workspace-jobs
| Type | bool |
| Default | true |
Allow users to cancel in-progress workspace jobs.
--default-ttl
| Type | duration |
Edit the template default time before shutdown - workspaces created from this template default to this value.
--description
| Type | string |
Edit the template description.
--display-name
| Type | string |
Edit the template display name.
--icon
| Type | string |
Edit the template icon path.
--max-ttl
| Type | duration |
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.
--name
| Type | string |
Edit the template name.
-y, --yes
| Type | bool |
Bypass prompts.