Reference
Command Line
Home
/
Reference
/
Command Line
/
templates versions promote

templates versions promote

Promote a template version to active.

Usage

coder templates versions promote [flags] --template=<template_name> --template-version=<template_version_name>

Description

Promote an existing template version to be the active version for the specified template.

Options

-t, --template

Typestring
Environment$CODER_TEMPLATE_NAME

Specify the template name.

--template-version

Typestring
Environment$CODER_TEMPLATE_VERSION_NAME

Specify the template version name to promote.

-O, --org

Typestring
Environment$CODER_ORGANIZATION

Select which organization (uuid or name) to use.

See an opportunity to improve our docs? Make an edit.