feat(cli): colorize help page (#9589)

This commit is contained in:
Ammar Bandukwala
2023-09-08 13:21:33 -05:00
committed by GitHub
parent 11404af9ca
commit e361f1107b
86 changed files with 1224 additions and 920 deletions

View File

@ -1,32 +1,35 @@
Usage: coder create [flags] [name]
coder v0.0.0-devel
Create a workspace
USAGE:
coder create [flags] [name]
- Create a workspace for another user (if you have permission):
Create a workspace
$ coder create <username>/<workspace_name>
- Create a workspace for another user (if you have permission):
$ coder create <username>/<workspace_name>
Options
--parameter string-array, $CODER_RICH_PARAMETER
OPTIONS:
--parameter string-array, $CODER_RICH_PARAMETER
Rich parameter value in the format "name=value".
--rich-parameter-file string, $CODER_RICH_PARAMETER_FILE
--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
--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
--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
-t, --template string, $CODER_TEMPLATE_NAME
Specify a template name.
-y, --yes bool
-y, --yes bool
Bypass prompts.
---
———
Run `coder --help` for a list of global options.