Files
coder/docs/cli/coder_create.md
T

62 lines
1.0 KiB
Markdown
Raw Normal View History

2023-02-22 19:53:21 -06:00
<!-- DO NOT EDIT | GENERATED CONTENT -->
# coder create
2023-01-27 15:10:40 -03:00
Create a workspace
2023-02-22 19:53:21 -06:00
## Usage
```console
2023-01-27 15:10:40 -03:00
coder create [name] [flags]
```
2023-02-22 19:53:21 -06:00
## Flags
2023-01-27 15:10:40 -03:00
2023-02-22 19:53:21 -06:00
### --parameter-file
2023-01-27 15:10:40 -03:00
2023-02-22 19:53:21 -06:00
Specify a file path with parameter values.
<br/>
| | |
| --- | --- |
| Consumes | <code>$CODER_PARAMETER_FILE</code> |
2023-01-27 15:10:40 -03:00
2023-02-22 19:53:21 -06:00
### --rich-parameter-file
2023-01-27 15:10:40 -03:00
2023-02-22 19:53:21 -06:00
Specify a file path with values for rich parameters defined in the template.
<br/>
| | |
| --- | --- |
| Consumes | <code>$CODER_RICH_PARAMETER_FILE</code> |
2023-01-27 15:10:40 -03:00
2023-02-22 19:53:21 -06:00
### --start-at
Specify the workspace autostart schedule. Check `coder schedule start --help` for the syntax.
<br/>
| | |
| --- | --- |
| Consumes | <code>$CODER_WORKSPACE_START_AT</code> |
### --stop-after
Specify a duration after which the workspace should shut down (e.g. 8h).
<br/>
| | |
| --- | --- |
| Consumes | <code>$CODER_WORKSPACE_STOP_AFTER</code> |
2023-03-17 18:14:46 +01:00
| Default | <code>0s</code> |
2023-02-22 19:53:21 -06:00
### --template, -t
Specify a template name.
<br/>
| | |
| --- | --- |
| Consumes | <code>$CODER_TEMPLATE_NAME</code> |
### --yes, -y
Bypass prompts
<br/>
| | |
| --- | --- |
| Default | <code>false</code> |