2023-09-08 13:21:33 -05:00
|
|
|
coder v0.0.0-devel
|
2022-12-20 22:17:51 +02:00
|
|
|
|
2023-09-14 17:48:29 -07:00
|
|
|
USAGE:
|
2023-09-08 13:21:33 -05:00
|
|
|
coder update [flags] <workspace>
|
2022-12-20 22:17:51 +02:00
|
|
|
|
2025-06-23 09:12:37 +01:00
|
|
|
Will update and start a given workspace if it is out of date. If the workspace
|
|
|
|
|
is already running, it will be stopped first.
|
2022-12-20 22:17:51 +02:00
|
|
|
|
2023-09-08 13:21:33 -05:00
|
|
|
Use --always-prompt to change the parameter values of the workspace.
|
|
|
|
|
|
2023-09-14 17:48:29 -07:00
|
|
|
OPTIONS:
|
|
|
|
|
--always-prompt bool
|
2023-03-23 17:42:20 -05:00
|
|
|
Always prompt all parameters. Does not pull parameter values from
|
|
|
|
|
existing workspace.
|
|
|
|
|
|
2023-09-14 17:48:29 -07:00
|
|
|
--build-option string-array, $CODER_BUILD_OPTION
|
2023-08-09 13:00:25 +02:00
|
|
|
Build option value in the format "name=value".
|
2024-10-16 23:54:12 +02:00
|
|
|
DEPRECATED: Use --ephemeral-parameter instead.
|
2023-08-09 13:00:25 +02:00
|
|
|
|
2023-09-14 17:48:29 -07:00
|
|
|
--build-options bool
|
2023-07-13 12:56:02 +02:00
|
|
|
Prompt for one-time build options defined with ephemeral parameters.
|
2024-10-16 23:54:12 +02:00
|
|
|
DEPRECATED: Use --prompt-ephemeral-parameters instead.
|
|
|
|
|
|
|
|
|
|
--ephemeral-parameter string-array, $CODER_EPHEMERAL_PARAMETER
|
|
|
|
|
Set the value of ephemeral parameters defined in the template. The
|
|
|
|
|
format is "name=value".
|
2023-07-13 12:56:02 +02:00
|
|
|
|
2023-09-14 17:48:29 -07:00
|
|
|
--parameter string-array, $CODER_RICH_PARAMETER
|
2023-08-09 13:00:25 +02:00
|
|
|
Rich parameter value in the format "name=value".
|
|
|
|
|
|
2024-04-29 11:23:54 -07:00
|
|
|
--parameter-default string-array, $CODER_RICH_PARAMETER_DEFAULT
|
|
|
|
|
Rich parameter default values in the format "name=value".
|
|
|
|
|
|
2024-10-16 23:54:12 +02:00
|
|
|
--prompt-ephemeral-parameters bool, $CODER_PROMPT_EPHEMERAL_PARAMETERS
|
|
|
|
|
Prompt to set values of ephemeral parameters defined in the template.
|
|
|
|
|
If a value has been set via --ephemeral-parameter, it will not be
|
|
|
|
|
prompted for.
|
|
|
|
|
|
2023-09-14 17:48:29 -07:00
|
|
|
--rich-parameter-file string, $CODER_RICH_PARAMETER_FILE
|
2023-03-23 17:42:20 -05:00
|
|
|
Specify a file path with values for rich parameters defined in the
|
2024-10-09 10:04:24 +05:30
|
|
|
template. The file should be in YAML format, containing key-value
|
|
|
|
|
pairs for the parameters.
|
2023-03-23 17:42:20 -05:00
|
|
|
|
2023-09-08 13:21:33 -05:00
|
|
|
———
|
2023-03-23 17:42:20 -05:00
|
|
|
Run `coder --help` for a list of global options.
|