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

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

42 lines
957 B
Markdown
Raw Normal View History

---
# Code generated by make gen. DO NOT EDIT.
title: templates archive
description: "Archive unused or failed template versions from a given template(s)"
---
<!-- DO NOT EDIT | GENERATED CONTENT -->
Archive unused or failed template versions from a given template(s)
## Usage
```console
coder templates archive [flags] [template-name...]
```
## Options
### -y, --yes
| | |
|------|-------------------|
| Type | <code>bool</code> |
Bypass confirmation prompts.
### --all
| | |
|------|-------------------|
| Type | <code>bool</code> |
Include all unused template versions. By default, only failed template versions are archived.
### -O, --org
| | |
|-------------|----------------------------------|
| Type | <code>string</code> |
| Environment | <code>$CODER_ORGANIZATION</code> |
Select which organization (uuid or name) to use.