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

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

58 lines
1.3 KiB
Markdown
Raw Normal View History

---
# Code generated by make gen. DO NOT EDIT.
title: 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
| | |
|------|-------------------|
2023-03-23 17:42:20 -05:00
| Type | <code>bool</code> |
Output the template as a tar archive to stdout.
### --zip
| | |
|------|-------------------|
| Type | <code>bool</code> |
Output the template as a zip archive to stdout.
### --version
| | |
|------|---------------------|
| 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
| | |
|------|-------------------|
2023-03-23 17:42:20 -05:00
| Type | <code>bool</code> |
Bypass confirmation prompts.
### -O, --org
| | |
|-------------|----------------------------------|
| Type | <code>string</code> |
| Environment | <code>$CODER_ORGANIZATION</code> |
Select which organization (uuid or name) to use.