mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: update workspace cleanup flag names for template cmds (#10805)
This commit is contained in:
+10
-7
@@ -14,6 +14,16 @@ OPTIONS:
|
||||
-d, --directory string (default: .)
|
||||
Specify the directory to create from, use '-' to read tar from stdin.
|
||||
|
||||
--dormancy-auto-deletion duration (default: 0h)
|
||||
Specify a duration workspaces may be in the dormant state prior to
|
||||
being deleted. This licensed feature's default is 0h (off). Maps to
|
||||
"Dormancy Auto-Deletion" in the UI.
|
||||
|
||||
--dormancy-threshold duration (default: 0h)
|
||||
Specify a duration workspaces may be inactive prior to being moved to
|
||||
the dormant state. This licensed feature's default is 0h (off). Maps
|
||||
to "Dormancy threshold" in the UI.
|
||||
|
||||
--failure-ttl duration (default: 0h)
|
||||
Specify a failure TTL for workspaces created from this template. It is
|
||||
the amount of time after a failed "start" build before coder
|
||||
@@ -24,13 +34,6 @@ OPTIONS:
|
||||
Ignore warnings about not having a .terraform.lock.hcl file present in
|
||||
the template.
|
||||
|
||||
--inactivity-ttl duration (default: 0h)
|
||||
Specify an inactivity TTL for workspaces created from this template.
|
||||
It is the amount of time the workspace is not used before it is be
|
||||
stopped and auto-locked. This includes across multiple builds (e.g.
|
||||
auto-starts and stops). This licensed feature's default is 0h (off).
|
||||
Maps to "Dormancy threshold" in the UI.
|
||||
|
||||
--max-ttl duration
|
||||
Edit the template maximum time before shutdown - workspaces created
|
||||
from this template must shutdown within the given duration after
|
||||
|
||||
+10
-7
@@ -38,6 +38,16 @@ OPTIONS:
|
||||
--display-name string
|
||||
Edit the template display name.
|
||||
|
||||
--dormancy-auto-deletion duration (default: 0h)
|
||||
Specify a duration workspaces may be in the dormant state prior to
|
||||
being deleted. This licensed feature's default is 0h (off). Maps to
|
||||
"Dormancy Auto-Deletion" in the UI.
|
||||
|
||||
--dormancy-threshold duration (default: 0h)
|
||||
Specify a duration workspaces may be inactive prior to being moved to
|
||||
the dormant state. This licensed feature's default is 0h (off). Maps
|
||||
to "Dormancy threshold" in the UI.
|
||||
|
||||
--failure-ttl duration (default: 0h)
|
||||
Specify a failure TTL for workspaces created from this template. It is
|
||||
the amount of time after a failed "start" build before coder
|
||||
@@ -47,13 +57,6 @@ OPTIONS:
|
||||
--icon string
|
||||
Edit the template icon path.
|
||||
|
||||
--inactivity-ttl duration (default: 0h)
|
||||
Specify an inactivity TTL for workspaces created from this template.
|
||||
It is the amount of time the workspace is not used before it is be
|
||||
stopped and auto-locked. This includes across multiple builds (e.g.
|
||||
auto-starts and stops). This licensed feature's default is 0h (off).
|
||||
Maps to "Dormancy threshold" in the UI.
|
||||
|
||||
--max-ttl duration
|
||||
Edit the template maximum time before shutdown - workspaces created
|
||||
from this template must shutdown within the given duration after
|
||||
|
||||
Reference in New Issue
Block a user