-
Notifications
You must be signed in to change notification settings - Fork 894
feat: allow promoting an existing template version to active from CLI #15051
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
coder v0.0.0-devel | ||
|
||
USAGE: | ||
coder templates versions promote [flags] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I know the output |
||
|
||
Promote a template version to active. | ||
|
||
Promote an existing template version to be the active version for the | ||
specified template. | ||
|
||
OPTIONS: | ||
-O, --org string, $CODER_ORGANIZATION | ||
Select which organization (uuid or name) to use. | ||
|
||
-t, --template string, $CODER_TEMPLATE_NAME | ||
Specify the template name. | ||
|
||
--template-version string, $CODER_TEMPLATE_VERSION_NAME | ||
Specify the template version name to promote. | ||
|
||
——— | ||
Run `coder --help` for a list of global options. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think there is precedence for required flags, can we add to the
Use
to include the required flags?We include required params in other
Use
fields:coder/cli/autoupdate.go
Line 18 in 61c37d0