Files
coder/docs/reference/cli/templates_versions_promote.md
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

50 lines
1.3 KiB
Markdown
Raw Normal View History

---
# Code generated by make gen. DO NOT EDIT.
title: templates versions promote
description: Promote a template version to active.
---
<!-- DO NOT EDIT | GENERATED CONTENT -->
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.