mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add --use-parameter-defaults flag (#21119)
This is like `--yes`, but for parameter prompts.
This commit is contained in:
Generated
+1
-1
@@ -17,4 +17,4 @@ coder autoupdate [flags] <workspace> <always|never>
|
||||
|------|-------------------|
|
||||
| Type | <code>bool</code> |
|
||||
|
||||
Bypass prompts.
|
||||
Bypass confirmation prompts.
|
||||
|
||||
Generated
+1
-1
@@ -114,4 +114,4 @@ Disable starting the workspace automatically when connecting via SSH.
|
||||
|------|-------------------|
|
||||
| Type | <code>bool</code> |
|
||||
|
||||
Bypass prompts.
|
||||
Bypass confirmation prompts.
|
||||
|
||||
Generated
+10
-1
@@ -83,13 +83,22 @@ Specify automatic updates setting for the workspace (accepts 'always' or 'never'
|
||||
|
||||
Specify the source workspace name to copy parameters from.
|
||||
|
||||
### --use-parameter-defaults
|
||||
|
||||
| | |
|
||||
|-------------|------------------------------------------------------|
|
||||
| Type | <code>bool</code> |
|
||||
| Environment | <code>$CODER_WORKSPACE_USE_PARAMETER_DEFAULTS</code> |
|
||||
|
||||
Automatically accept parameter defaults when no value is provided.
|
||||
|
||||
### -y, --yes
|
||||
|
||||
| | |
|
||||
|------|-------------------|
|
||||
| Type | <code>bool</code> |
|
||||
|
||||
Bypass prompts.
|
||||
Bypass confirmation prompts.
|
||||
|
||||
### --parameter
|
||||
|
||||
|
||||
Generated
+1
-1
@@ -37,4 +37,4 @@ Delete a workspace without deleting its resources. This can delete a workspace i
|
||||
|------|-------------------|
|
||||
| Type | <code>bool</code> |
|
||||
|
||||
Bypass prompts.
|
||||
Bypass confirmation prompts.
|
||||
|
||||
Generated
+1
-1
@@ -52,4 +52,4 @@ Specifies the directory for the dotfiles repository, relative to global config d
|
||||
|------|-------------------|
|
||||
| Type | <code>bool</code> |
|
||||
|
||||
Bypass prompts.
|
||||
Bypass confirmation prompts.
|
||||
|
||||
+10
-1
@@ -83,13 +83,22 @@ Specify automatic updates setting for the workspace (accepts 'always' or 'never'
|
||||
|
||||
Specify the source workspace name to copy parameters from.
|
||||
|
||||
### --use-parameter-defaults
|
||||
|
||||
| | |
|
||||
|-------------|------------------------------------------------------|
|
||||
| Type | <code>bool</code> |
|
||||
| Environment | <code>$CODER_WORKSPACE_USE_PARAMETER_DEFAULTS</code> |
|
||||
|
||||
Automatically accept parameter defaults when no value is provided.
|
||||
|
||||
### -y, --yes
|
||||
|
||||
| | |
|
||||
|------|-------------------|
|
||||
| Type | <code>bool</code> |
|
||||
|
||||
Bypass prompts.
|
||||
Bypass confirmation prompts.
|
||||
|
||||
### --parameter
|
||||
|
||||
|
||||
Generated
+1
-1
@@ -17,4 +17,4 @@ coder logout [flags]
|
||||
|------|-------------------|
|
||||
| Type | <code>bool</code> |
|
||||
|
||||
Bypass prompts.
|
||||
Bypass confirmation prompts.
|
||||
|
||||
+1
-1
@@ -17,4 +17,4 @@ coder organizations create [flags] <organization name>
|
||||
|------|-------------------|
|
||||
| Type | <code>bool</code> |
|
||||
|
||||
Bypass prompts.
|
||||
Bypass confirmation prompts.
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@ coder organizations roles create [flags] <role_name>
|
||||
|------|-------------------|
|
||||
| Type | <code>bool</code> |
|
||||
|
||||
Bypass prompts.
|
||||
Bypass confirmation prompts.
|
||||
|
||||
### --dry-run
|
||||
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@ coder organizations roles update [flags] <role_name>
|
||||
|------|-------------------|
|
||||
| Type | <code>bool</code> |
|
||||
|
||||
Bypass prompts.
|
||||
Bypass confirmation prompts.
|
||||
|
||||
### --dry-run
|
||||
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ coder provisioner keys delete [flags] <name>
|
||||
|------|-------------------|
|
||||
| Type | <code>bool</code> |
|
||||
|
||||
Bypass prompts.
|
||||
Bypass confirmation prompts.
|
||||
|
||||
### -O, --org
|
||||
|
||||
|
||||
Generated
+1
-1
@@ -29,4 +29,4 @@ Regenerate your public key. This will require updating the key on any services i
|
||||
|------|-------------------|
|
||||
| Type | <code>bool</code> |
|
||||
|
||||
Bypass prompts.
|
||||
Bypass confirmation prompts.
|
||||
|
||||
Generated
+1
-1
@@ -17,4 +17,4 @@ coder rename [flags] <workspace> <new name>
|
||||
|------|-------------------|
|
||||
| Type | <code>bool</code> |
|
||||
|
||||
Bypass prompts.
|
||||
Bypass confirmation prompts.
|
||||
|
||||
Generated
+1
-1
@@ -17,7 +17,7 @@ coder restart [flags] <workspace>
|
||||
|------|-------------------|
|
||||
| Type | <code>bool</code> |
|
||||
|
||||
Bypass prompts.
|
||||
Bypass confirmation prompts.
|
||||
|
||||
### --build-option
|
||||
|
||||
|
||||
+1
-1
@@ -45,4 +45,4 @@ Keys required to decrypt existing data. Must be a comma-separated list of base64
|
||||
|------|-------------------|
|
||||
| Type | <code>bool</code> |
|
||||
|
||||
Bypass prompts.
|
||||
Bypass confirmation prompts.
|
||||
|
||||
+1
-1
@@ -40,4 +40,4 @@ Type of auth to use when connecting to postgres.
|
||||
|------|-------------------|
|
||||
| Type | <code>bool</code> |
|
||||
|
||||
Bypass prompts.
|
||||
Bypass confirmation prompts.
|
||||
|
||||
+1
-1
@@ -54,4 +54,4 @@ The old external token encryption keys. Must be a comma-separated list of base64
|
||||
|------|-------------------|
|
||||
| Type | <code>bool</code> |
|
||||
|
||||
Bypass prompts.
|
||||
Bypass confirmation prompts.
|
||||
|
||||
Generated
+1
-1
@@ -25,7 +25,7 @@ Return immediately after starting the workspace.
|
||||
|------|-------------------|
|
||||
| Type | <code>bool</code> |
|
||||
|
||||
Bypass prompts.
|
||||
Bypass confirmation prompts.
|
||||
|
||||
### --build-option
|
||||
|
||||
|
||||
Generated
+1
-1
@@ -17,4 +17,4 @@ coder stop [flags] <workspace>
|
||||
|------|-------------------|
|
||||
| Type | <code>bool</code> |
|
||||
|
||||
Bypass prompts.
|
||||
Bypass confirmation prompts.
|
||||
|
||||
Generated
+1
-1
@@ -23,7 +23,7 @@ This command generates a file containing detailed troubleshooting information ab
|
||||
|------|-------------------|
|
||||
| Type | <code>bool</code> |
|
||||
|
||||
Bypass prompts.
|
||||
Bypass confirmation prompts.
|
||||
|
||||
### -O, --output-file
|
||||
|
||||
|
||||
Generated
+1
-1
@@ -37,4 +37,4 @@ coder task delete [flags] <task> [<task> ...]
|
||||
|------|-------------------|
|
||||
| Type | <code>bool</code> |
|
||||
|
||||
Bypass prompts.
|
||||
Bypass confirmation prompts.
|
||||
|
||||
Generated
+1
-1
@@ -17,7 +17,7 @@ coder templates archive [flags] [template-name...]
|
||||
|------|-------------------|
|
||||
| Type | <code>bool</code> |
|
||||
|
||||
Bypass prompts.
|
||||
Bypass confirmation prompts.
|
||||
|
||||
### --all
|
||||
|
||||
|
||||
Generated
+1
-1
@@ -102,7 +102,7 @@ Requires workspace builds to use the active template version. This setting does
|
||||
|------|-------------------|
|
||||
| Type | <code>bool</code> |
|
||||
|
||||
Bypass prompts.
|
||||
Bypass confirmation prompts.
|
||||
|
||||
### -O, --org
|
||||
|
||||
|
||||
Generated
+1
-1
@@ -21,7 +21,7 @@ coder templates delete [flags] [name...]
|
||||
|------|-------------------|
|
||||
| Type | <code>bool</code> |
|
||||
|
||||
Bypass prompts.
|
||||
Bypass confirmation prompts.
|
||||
|
||||
### -O, --org
|
||||
|
||||
|
||||
Generated
+1
-1
@@ -169,7 +169,7 @@ Disable the default behavior of granting template access to the 'everyone' group
|
||||
|------|-------------------|
|
||||
| Type | <code>bool</code> |
|
||||
|
||||
Bypass prompts.
|
||||
Bypass confirmation prompts.
|
||||
|
||||
### -O, --org
|
||||
|
||||
|
||||
Generated
+1
-1
@@ -41,7 +41,7 @@ The name of the template version to pull. Use 'active' to pull the active versio
|
||||
|------|-------------------|
|
||||
| Type | <code>bool</code> |
|
||||
|
||||
Bypass prompts.
|
||||
Bypass confirmation prompts.
|
||||
|
||||
### -O, --org
|
||||
|
||||
|
||||
Generated
+1
-1
@@ -74,7 +74,7 @@ Whether the new template will be marked active.
|
||||
|------|-------------------|
|
||||
| Type | <code>bool</code> |
|
||||
|
||||
Bypass prompts.
|
||||
Bypass confirmation prompts.
|
||||
|
||||
### -d, --directory
|
||||
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ coder templates versions archive [flags] <template-name> [template-version-names
|
||||
|------|-------------------|
|
||||
| Type | <code>bool</code> |
|
||||
|
||||
Bypass prompts.
|
||||
Bypass confirmation prompts.
|
||||
|
||||
### -O, --org
|
||||
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ coder templates versions unarchive [flags] <template-name> [template-version-nam
|
||||
|------|-------------------|
|
||||
| Type | <code>bool</code> |
|
||||
|
||||
Bypass prompts.
|
||||
Bypass confirmation prompts.
|
||||
|
||||
### -O, --org
|
||||
|
||||
|
||||
Generated
+1
-1
@@ -17,7 +17,7 @@ coder users edit-roles [flags] <username|user_id>
|
||||
|------|-------------------|
|
||||
| Type | <code>bool</code> |
|
||||
|
||||
Bypass prompts.
|
||||
Bypass confirmation prompts.
|
||||
|
||||
### --roles
|
||||
|
||||
|
||||
Reference in New Issue
Block a user