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:
Kira Pilot
2023-05-10 12:57:11 -07:00
committed by GitHub
parent 816c37dd0d
commit a42a36a474
9 changed files with 159 additions and 13 deletions
+18
View File
@@ -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
| | |
+18
View 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
| | |