mirror of
https://github.com/coder/coder.git
synced 2026-06-03 04:58:23 +00:00
db40c29f26
* fix: CLI do not ignore autostop * make gen
1.0 KiB
1.0 KiB
coder create
Create a workspace
Usage
coder create [name] [flags]
Flags
--parameter-file
Specify a file path with parameter values.
| Consumes | $CODER_PARAMETER_FILE |
--rich-parameter-file
Specify a file path with values for rich parameters defined in the template.
| Consumes | $CODER_RICH_PARAMETER_FILE |
--start-at
Specify the workspace autostart schedule. Check coder schedule start --help for the syntax.
| Consumes | $CODER_WORKSPACE_START_AT |
--stop-after
Specify a duration after which the workspace should shut down (e.g. 8h).
| Consumes | $CODER_WORKSPACE_STOP_AFTER |
| Default | 0s |
--template, -t
Specify a template name.
| Consumes | $CODER_TEMPLATE_NAME |
--yes, -y
Bypass prompts
| Default | false |