mirror of
https://github.com/coder/coder.git
synced 2025-07-06 15:41:45 +00:00
54 lines
1.2 KiB
Markdown
Generated
54 lines
1.2 KiB
Markdown
Generated
<!-- DO NOT EDIT | GENERATED CONTENT -->
|
|
# templates pull
|
|
|
|
Download the active, latest, or specified version of a template to a path.
|
|
|
|
## Usage
|
|
|
|
```console
|
|
coder templates pull [flags] <name> [destination]
|
|
```
|
|
|
|
## Options
|
|
|
|
### --tar
|
|
|
|
| | |
|
|
|------|-------------------|
|
|
| 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.
|
|
|
|
### -y, --yes
|
|
|
|
| | |
|
|
|------|-------------------|
|
|
| Type | <code>bool</code> |
|
|
|
|
Bypass prompts.
|
|
|
|
### -O, --org
|
|
|
|
| | |
|
|
|-------------|----------------------------------|
|
|
| Type | <code>string</code> |
|
|
| Environment | <code>$CODER_ORGANIZATION</code> |
|
|
|
|
Select which organization (uuid or name) to use.
|