mirror of
https://github.com/coder/coder.git
synced 2025-07-08 11:39:50 +00:00
74 lines
1.1 KiB
Markdown
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> |
|