mirror of
https://github.com/coder/coder.git
synced 2026-06-04 13:38:21 +00:00
94f5d52fdc
Co-authored-by: Edward Angert <EdwardAngert@users.noreply.github.com>
46 lines
1.2 KiB
Markdown
Generated
46 lines
1.2 KiB
Markdown
Generated
<!-- DO NOT EDIT | GENERATED CONTENT -->
|
|
# templates versions promote
|
|
|
|
Promote a template version to active.
|
|
|
|
## Usage
|
|
|
|
```console
|
|
coder templates versions promote [flags] --template=<template_name> --template-version=<template_version_name>
|
|
```
|
|
|
|
## Description
|
|
|
|
```console
|
|
Promote an existing template version to be the active version for the specified template.
|
|
```
|
|
|
|
## Options
|
|
|
|
### -t, --template
|
|
|
|
| | |
|
|
|-------------|-----------------------------------|
|
|
| Type | <code>string</code> |
|
|
| Environment | <code>$CODER_TEMPLATE_NAME</code> |
|
|
|
|
Specify the template name.
|
|
|
|
### --template-version
|
|
|
|
| | |
|
|
|-------------|-------------------------------------------|
|
|
| Type | <code>string</code> |
|
|
| Environment | <code>$CODER_TEMPLATE_VERSION_NAME</code> |
|
|
|
|
Specify the template version name to promote.
|
|
|
|
### -O, --org
|
|
|
|
| | |
|
|
|-------------|----------------------------------|
|
|
| Type | <code>string</code> |
|
|
| Environment | <code>$CODER_ORGANIZATION</code> |
|
|
|
|
Select which organization (uuid or name) to use.
|