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

74 lines
1.1 KiB
Markdown

<!-- DO NOT EDIT | GENERATED CONTENT -->
# coder templates edit
Edit the metadata of a template by name.
## Usage
```console
coder templates edit <template> [flags]
```
## Flags
### --allow-user-cancel-workspace-jobs
Allow users to cancel in-progress workspace jobs.
<br/>
| | |
| --- | --- |
| Default | <code>true</code> |
### --default-ttl
Edit the template default time before shutdown - workspaces created from this template default to this value.
<br/>
| | |
| --- | --- |
| Default | <code>0s</code> |
### --description
Edit the template description.
<br/>
| | |
| --- | --- |
### --display-name
Edit the template display name.
<br/>
| | |
| --- | --- |
### --icon
Edit the template icon path.
<br/>
| | |
| --- | --- |
### --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.
<br/>
| | |
| --- | --- |
| Default | <code>0s</code> |
### --name
Edit the template name.
<br/>
| | |
| --- | --- |
### --yes, -y
Bypass prompts
<br/>
| | |
| --- | --- |
| Default | <code>false</code> |