mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add workspace actions cleanup configuration flags to CLI template create and edit (#7453)
* added cleanup flags on template create * added cleanup flags on template edit * fixed tests * added to tests
This commit is contained in:
@@ -30,6 +30,24 @@ Specify a default TTL for workspaces created from this template.
|
||||
|
||||
Specify the directory to create from, use '-' to read tar from stdin.
|
||||
|
||||
### --failure-ttl
|
||||
|
||||
| | |
|
||||
| ------- | --------------------- |
|
||||
| Type | <code>duration</code> |
|
||||
| Default | <code>0h</code> |
|
||||
|
||||
Specify a failure TTL for workspaces created from this template. This licensed feature's default is 0h (off).
|
||||
|
||||
### --inactivity-ttl
|
||||
|
||||
| | |
|
||||
| ------- | --------------------- |
|
||||
| Type | <code>duration</code> |
|
||||
| Default | <code>0h</code> |
|
||||
|
||||
Specify an inactivity TTL for workspaces created from this template. This licensed feature's default is 0h (off).
|
||||
|
||||
### --parameter-file
|
||||
|
||||
| | |
|
||||
|
||||
@@ -63,6 +63,15 @@ Edit the template description.
|
||||
|
||||
Edit the template display name.
|
||||
|
||||
### --failure-ttl
|
||||
|
||||
| | |
|
||||
| ------- | --------------------- |
|
||||
| Type | <code>duration</code> |
|
||||
| Default | <code>0h</code> |
|
||||
|
||||
Specify a failure TTL for workspaces created from this template. This licensed feature's default is 0h (off).
|
||||
|
||||
### --icon
|
||||
|
||||
| | |
|
||||
@@ -71,6 +80,15 @@ Edit the template display name.
|
||||
|
||||
Edit the template icon path.
|
||||
|
||||
### --inactivity-ttl
|
||||
|
||||
| | |
|
||||
| ------- | --------------------- |
|
||||
| Type | <code>duration</code> |
|
||||
| Default | <code>0h</code> |
|
||||
|
||||
Specify an inactivity TTL for workspaces created from this template. This licensed feature's default is 0h (off).
|
||||
|
||||
### --max-ttl
|
||||
|
||||
| | |
|
||||
|
||||
Reference in New Issue
Block a user