Files

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

58 lines
1.4 KiB
Markdown
Raw Permalink Normal View History

---
# Code generated by make gen. DO NOT EDIT.
title: "`coder templates pull`"
description: "Download the active, latest, or specified version of a template to a path."
---
2023-03-23 17:42:20 -05:00
<!-- DO NOT EDIT | GENERATED CONTENT -->
Download the active, latest, or specified version of a template to a path.
2023-03-23 17:42:20 -05:00
## Usage
```console
coder templates pull [flags] <name> [destination]
```
## Options
### --tar
| Property | Value |
|----------|-------------------|
| Type | <code>bool</code> |
2023-03-23 17:42:20 -05:00
Output the template as a tar archive to stdout.
### --zip
| Property | Value |
|----------|-------------------|
| Type | <code>bool</code> |
Output the template as a zip archive to stdout.
### --version
| Property | Value |
|----------|---------------------|
| Type | <code>string</code> |
The name of the template version to pull. Use 'active' to pull the active version, 'latest' to pull the latest version, or the name of the template version to pull.
2023-03-23 17:42:20 -05:00
### -y, --yes
| Property | Value |
|----------|-------------------|
| Type | <code>bool</code> |
2023-03-23 17:42:20 -05:00
Bypass confirmation prompts.
### -O, --org
| Property | Value |
|-------------|----------------------------------|
| Type | <code>string</code> |
| Environment | <code>$CODER_ORGANIZATION</code> |
Select which organization (uuid or name) to use.