Files
coder/cli/testdata/coder_create_--help.golden
T
Steven Masley 4c4d966c7b feat: add ability to make workspace for other user from cli (#8481)
* feat: add ability to make workspace for other user from cli
* Add example to show functionality
2023-07-14 09:48:02 -04:00

995 B

Usage: coder create [flags] [name]
 
Create a workspace
 
- Create a workspace for another user (if you have permission):
 
$ coder create <username>/<workspace_name>
 
Options
--build-options bool
Prompt for one-time build options defined with ephemeral parameters.
 
--rich-parameter-file string, $CODER_RICH_PARAMETER_FILE
Specify a file path with values for rich parameters defined in the
template.
 
--start-at string, $CODER_WORKSPACE_START_AT
Specify the workspace autostart schedule. Check coder schedule start
--help for the syntax.
 
--stop-after duration, $CODER_WORKSPACE_STOP_AFTER
Specify a duration after which the workspace should shut down (e.g.
8h).
 
-t, --template string, $CODER_TEMPLATE_NAME
Specify a template name.
 
-y, --yes bool
Bypass prompts.
 
---
Run `coder --help` for a list of global options.