Reference
Command Line

restart

Restart a workspace

Usage

coder restart [flags] <workspace>

Options

-y, --yes

Typebool

Bypass prompts.

--build-option

Typestring-array
Environment$CODER_BUILD_OPTION

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

--build-options

Typebool

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

--parameter

Typestring-array
Environment$CODER_RICH_PARAMETER

Rich parameter value in the format "name=value".

--rich-parameter-file

Typestring
Environment$CODER_RICH_PARAMETER_FILE

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

--parameter-default

Typestring-array
Environment$CODER_RICH_PARAMETER_DEFAULT

Rich parameter default values in the format "name=value".

--always-prompt

Typebool

Always prompt all parameters. Does not pull parameter values from existing workspace.

See an opportunity to improve our docs? Make an edit.
On this page