◐ Shell
clean mode source ↗

feat: cli: add support for supplying ephemeral parameters at workspac… · coder/coder@bd5666a

@@ -13,13 +13,29 @@ OPTIONS:

1313

-O, --org string, $CODER_ORGANIZATION

1414

Select which organization (uuid or name) to use.

151516+

--always-prompt bool

17+

Always prompt all parameters. Does not pull parameter values from

18+

existing workspace.

19+1620

--automatic-updates string, $CODER_WORKSPACE_AUTOMATIC_UPDATES (default: never)

1721

Specify automatic updates setting for the workspace (accepts 'always'

1822

or 'never').

192324+

--build-option string-array, $CODER_BUILD_OPTION

25+

Build option value in the format "name=value".

26+

DEPRECATED: Use --ephemeral-parameter instead.

27+28+

--build-options bool

29+

Prompt for one-time build options defined with ephemeral parameters.

30+

DEPRECATED: Use --prompt-ephemeral-parameters instead.

31+2032

--copy-parameters-from string, $CODER_WORKSPACE_COPY_PARAMETERS_FROM

2133

Specify the source workspace name to copy parameters from.

223435+

--ephemeral-parameter string-array, $CODER_EPHEMERAL_PARAMETER

36+

Set the value of ephemeral parameters defined in the template. The

37+

format is "name=value".

38+2339

--no-wait bool, $CODER_CREATE_NO_WAIT

2440

Return immediately after creating the workspace. The build will run in

2541

the background.

@@ -34,6 +50,11 @@ OPTIONS:

3450

Specify the name of a template version preset. Use 'none' to

3551

explicitly indicate that no preset should be used.

365253+

--prompt-ephemeral-parameters bool, $CODER_PROMPT_EPHEMERAL_PARAMETERS

54+

Prompt to set values of ephemeral parameters defined in the template.

55+

If a value has been set via --ephemeral-parameter, it will not be

56+

prompted for.

57+3758

--rich-parameter-file string, $CODER_RICH_PARAMETER_FILE

3859

Specify a file path with values for rich parameters defined in the

3960

template. The file should be in YAML format, containing key-value