mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
@@ -0,0 +1,71 @@
|
||||
<!-- DO NOT EDIT | GENERATED CONTENT -->
|
||||
|
||||
# templates create
|
||||
|
||||
Create a template from the current directory or as specified by flag
|
||||
|
||||
## Usage
|
||||
|
||||
```console
|
||||
coder templates create [flags] [name]
|
||||
```
|
||||
|
||||
## Options
|
||||
|
||||
### --default-ttl
|
||||
|
||||
| | |
|
||||
| ------- | --------------------- |
|
||||
| Type | <code>duration</code> |
|
||||
| Default | <code>24h</code> |
|
||||
|
||||
Specify a default TTL for workspaces created from this template.
|
||||
|
||||
### -d, --directory
|
||||
|
||||
| | |
|
||||
| ------- | ------------------- |
|
||||
| Type | <code>string</code> |
|
||||
| Default | <code>.</code> |
|
||||
|
||||
Specify the directory to create from, use '-' to read tar from stdin.
|
||||
|
||||
### --parameter-file
|
||||
|
||||
| | |
|
||||
| ---- | ------------------- |
|
||||
| Type | <code>string</code> |
|
||||
|
||||
Specify a file path with parameter values.
|
||||
|
||||
### --provisioner-tag
|
||||
|
||||
| | |
|
||||
| ---- | ------------------------- |
|
||||
| Type | <code>string-array</code> |
|
||||
|
||||
Specify a set of tags to target provisioner daemons.
|
||||
|
||||
### --variable
|
||||
|
||||
| | |
|
||||
| ---- | ------------------------- |
|
||||
| Type | <code>string-array</code> |
|
||||
|
||||
Specify a set of values for Terraform-managed variables.
|
||||
|
||||
### --variables-file
|
||||
|
||||
| | |
|
||||
| ---- | ------------------- |
|
||||
| Type | <code>string</code> |
|
||||
|
||||
Specify a file path with values for Terraform-managed variables.
|
||||
|
||||
### -y, --yes
|
||||
|
||||
| | |
|
||||
| ---- | ----------------- |
|
||||
| Type | <code>bool</code> |
|
||||
|
||||
Bypass prompts.
|
||||
Reference in New Issue
Block a user