Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitadc8650

Browse files
committed
update golden
1 parentffeae51 commitadc8650

File tree

1 file changed

+65
-2
lines changed

1 file changed

+65
-2
lines changed

‎cli/testdata/coder_templates_push_--help.golden

Lines changed: 65 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,76 @@ USAGE:
66
Push a new template version from the current directory or as specified by flag
77

88
OPTIONS:
9+
--deprecated string
10+
Sets the template as deprecated. Must be a message explaining why the
11+
template is deprecated.
12+
913
--activate bool (default: true)
1014
Whether the new template will be marked active.
1115

16+
--allow-user-autostart bool (default: true)
17+
Allow users to configure autostart for workspaces on this template.
18+
This can only be disabled in enterprise.
19+
20+
--allow-user-autostop bool (default: true)
21+
Allow users to customize the autostop TTL for workspaces on this
22+
template. This can only be disabled in enterprise.
23+
24+
--allow-user-cancel-workspace-jobs bool (default: true)
25+
Allow users to cancel in-progress workspace jobs.
26+
1227
--always-prompt bool
1328
Always prompt all parameters. Does not pull parameter values from
1429
active template version.
1530

16-
--create bool (default: false)
17-
Create the template if it does not exist.
31+
--autostart-requirement-weekdays string-array
32+
Edit the template autostart requirement weekdays - workspaces created
33+
from this template can only autostart on the given weekdays. To unset
34+
this value for the template (and allow autostart on all days), pass
35+
'all'.
36+
37+
--default-ttl duration (default: 24h)
38+
Specify a default TTL for workspaces created from this template. It is
39+
the default time before shutdown - workspaces created from this
40+
template default to this value. Maps to "Default autostop" in the UI.
41+
42+
--description string
43+
Edit the template description.
1844

1945
-d, --directory string (default: .)
2046
Specify the directory to create from, use '-' to read tar from stdin.
2147

48+
--display-name string
49+
Edit the template display name.
50+
51+
--dormancy-auto-deletion duration (default: 0h)
52+
Specify a duration workspaces may be in the dormant state prior to
53+
being deleted. This licensed feature's default is 0h (off). Maps to
54+
"Dormancy Auto-Deletion" in the UI.
55+
56+
--dormancy-threshold duration (default: 0h)
57+
Specify a duration workspaces may be inactive prior to being moved to
58+
the dormant state. This licensed feature's default is 0h (off). Maps
59+
to "Dormancy threshold" in the UI.
60+
61+
--failure-ttl duration (default: 0h)
62+
Specify a failure TTL for workspaces created from this template. It is
63+
the amount of time after a failed "start" build before coder
64+
automatically schedules a "stop" build to cleanup.This licensed
65+
feature's default is 0h (off). Maps to "Failure cleanup"in the UI.
66+
67+
--icon string
68+
Edit the template icon path.
69+
2270
--ignore-lockfile bool (default: false)
2371
Ignore warnings about not having a .terraform.lock.hcl file present in
2472
the template.
2573

74+
--max-ttl duration
75+
Edit the template maximum time before shutdown - workspaces created
76+
from this template must shutdown within the given duration after
77+
starting. This is an enterprise-only feature.
78+
2679
-m, --message string
2780
Specify a message describing the changes in this version of the
2881
template. Messages longer than 72 characters will be displayed as
@@ -32,9 +85,19 @@ OPTIONS:
3285
Specify a name for the new template version. It will be automatically
3386
generated if not provided.
3487

88+
--private bool
89+
Disable the default behavior of granting template access to the
90+
'everyone' group. The template permissions must be updated to allow
91+
non-admin users to use this template.
92+
3593
--provisioner-tag string-array
3694
Specify a set of tags to target provisioner daemons.
3795

96+
--require-active-version bool (default: false)
97+
Requires workspace builds to use the active template version. This
98+
setting does not apply to template admins. This is an enterprise-only
99+
feature.
100+
38101
--var string-array
39102
Alias of --variable.
40103

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp