mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: allow promoting an existing template version to active from CLI (#15051)
Co-authored-by: Muhammad Atif Ali <atif@coder.com>
This commit is contained in:
co-authored by
Muhammad Atif Ali
parent
46cce333b1
commit
5ebc748e94
@@ -14,6 +14,7 @@ USAGE:
|
||||
SUBCOMMANDS:
|
||||
archive Archive a template version(s).
|
||||
list List all the versions of the specified template
|
||||
promote Promote a template version to active.
|
||||
unarchive Unarchive a template version(s).
|
||||
|
||||
———
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
coder v0.0.0-devel
|
||||
|
||||
USAGE:
|
||||
coder templates versions promote [flags] --template=<template_name>
|
||||
--template-version=<template_version_name>
|
||||
|
||||
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.
|
||||
Reference in New Issue
Block a user