mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: Add CLI support for workspace build parameters (#5768)
* WIP * WIP * CLI: handle workspace build parameters * fix: golintci * Fix: dry run * fix * CLI: is mutable * coderd: mutable * fix: golanci * fix: richParameterFile * CLI: create unit tests * CLI: update test * Fix * fix: order * fix
This commit is contained in:
+3
@@ -7,6 +7,9 @@ Flags:
|
||||
-h, --help help for create
|
||||
--parameter-file string Specify a file path with parameter values.
|
||||
Consumes $CODER_PARAMETER_FILE
|
||||
--rich-parameter-file string Specify a file path with values for rich
|
||||
parameters defined in the template.
|
||||
Consumes $CODER_RICH_PARAMETER_FILE
|
||||
--start-at coder schedule start --help Specify the workspace autostart schedule. Check
|
||||
coder schedule start --help for the syntax.
|
||||
Consumes $CODER_WORKSPACE_START_AT
|
||||
|
||||
+8
-5
@@ -4,11 +4,14 @@ Usage:
|
||||
coder update <workspace> [flags]
|
||||
|
||||
Flags:
|
||||
--always-prompt Always prompt all parameters. Does not pull parameter values
|
||||
from existing workspace
|
||||
-h, --help help for update
|
||||
--parameter-file string Specify a file path with parameter values.
|
||||
Consumes $CODER_PARAMETER_FILE
|
||||
--always-prompt Always prompt all parameters. Does not pull parameter
|
||||
values from existing workspace
|
||||
-h, --help help for update
|
||||
--parameter-file string Specify a file path with parameter values.
|
||||
Consumes $CODER_PARAMETER_FILE
|
||||
--rich-parameter-file string Specify a file path with values for rich parameters
|
||||
defined in the template.
|
||||
Consumes $CODER_RICH_PARAMETER_FILE
|
||||
|
||||
Global Flags:
|
||||
--global-config coder Path to the global coder config directory.
|
||||
|
||||
Reference in New Issue
Block a user