Files
coder/docs/cli/update.md
2023-03-23 17:42:20 -05:00

46 lines
1.1 KiB
Markdown

<!-- DO NOT EDIT | GENERATED CONTENT -->
# update
Will update and start a given workspace if it is out of date
## Usage
```console
coder update [flags] <workspace>
```
## Description
```console
Use --always-prompt to change the parameter values of the workspace.
```
## Options
### --always-prompt
| | |
| ---- | ----------------- |
| Type | <code>bool</code> |
Always prompt all parameters. Does not pull parameter values from existing workspace.
### --parameter-file
| | |
| ----------- | ---------------------------------- |
| Type | <code>string</code> |
| Environment | <code>$CODER_PARAMETER_FILE</code> |
Specify a file path with parameter values.
### --rich-parameter-file
| | |
| ----------- | --------------------------------------- |
| Type | <code>string</code> |
| Environment | <code>$CODER_RICH_PARAMETER_FILE</code> |
Specify a file path with values for rich parameters defined in the template.