From f910c08a8832037c4079003790a89e5b5a795981 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 Nov 2026 08:16:23 +0000 Subject: [PATCH 1/2] build(deps): bump github.com/spf13/pflag from 1.0.10 to 1.1.0 Bumps [github.com/spf13/pflag](https://github.com/spf13/pflag) from 1.0.10 to 1.1.0. - [Release notes](https://github.com/spf13/pflag/releases) - [Commits](https://github.com/spf13/pflag/compare/v1.0.10...v1.1.0) --- updated-dependencies: - dependency-name: github.com/spf13/pflag dependency-version: 1.1.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 703ca58f59c..d2d7f1e2dcf 100644 --- a/go.mod +++ b/go.mod @@ -30,7 +30,7 @@ require ( github.com/quasilyte/go-ruleguard/dsl v0.3.22 // BSD-3-Clause github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // MIT github.com/spf13/cobra v1.10.2 // Apache-2.0 - github.com/spf13/pflag v1.0.10 // BSD-3-Clause + github.com/spf13/pflag v1.1.0 // BSD-3-Clause github.com/stretchr/testify v1.12.1 // MIT github.com/tailscale/hujson v0.0.0-20250605163823-992244df8c5a // BSD-3-Clause github.com/zalando/go-keyring v0.2.8 // MIT diff --git a/go.sum b/go.sum index eee04d80555..745e31cff83 100644 --- a/go.sum +++ b/go.sum @@ -159,8 +159,8 @@ github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+e github.com/spf13/cobra v1.10.2 h1:DMTTonx5m65Ic0GOoRY2c16WCbHxOOw6xxezuLaBpcU= github.com/spf13/cobra v1.10.2/go.mod h1:7C1pvHqHw5A4vrJfjNwvOdzYu0Gml16OCs2GRiTUUS4= github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -github.com/spf13/pflag v1.0.10 h1:4EBh2KAYBwaONj6b2Ye1GiHfwjqyROoF4RwYO+vPwFk= -github.com/spf13/pflag v1.0.10/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +github.com/spf13/pflag v1.1.0 h1:6W6MbVUrnMb8PEhjkqwsVLY7ryuzRfFHF4mQd7L94ag= +github.com/spf13/pflag v1.1.0/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= From c16d5cd6f54f7a1a5ec263c6b86b9add6284a638 Mon Sep 17 00:00:00 2001 From: "pieter.noordhuis" Date: Mon, 16 Nov 2026 09:03:15 +0000 Subject: [PATCH 2/2] Update help output for pflag 1.1.0 boolean flag syntax pflag 1.1.0 renders boolean flags in usage as --flag[=true|false] (spf13/pflag#453). Regenerate the acceptance goldens and update the cmdgroup usage test accordingly. No other output changes. Co-authored-by: Isaac --- acceptance/air/config-help/output.txt | 14 +-- acceptance/air/help/output.txt | 102 +++++++++--------- acceptance/air/image-push/output.txt | 40 +++---- acceptance/bundle/debug/output.txt | 12 +-- .../bundle/help/bundle-deploy/output.txt | 28 ++--- .../help/bundle-deployment-migrate/output.txt | 14 +-- .../bundle/help/bundle-deployment/output.txt | 12 +-- .../bundle/help/bundle-destroy/output.txt | 18 ++-- .../help/bundle-generate-dashboard/output.txt | 18 ++-- .../help/bundle-generate-job/output.txt | 24 ++--- .../help/bundle-generate-pipeline/output.txt | 16 +-- .../bundle/help/bundle-generate/output.txt | 14 +-- acceptance/bundle/help/bundle-init/output.txt | 12 +-- acceptance/bundle/help/bundle-open/output.txt | 14 +-- acceptance/bundle/help/bundle-run/output.txt | 26 ++--- .../bundle/help/bundle-schema/output.txt | 12 +-- .../bundle/help/bundle-summary/output.txt | 14 +-- acceptance/bundle/help/bundle-sync/output.txt | 20 ++-- .../bundle/help/bundle-validate/output.txt | 14 +-- acceptance/bundle/help/bundle/output.txt | 12 +-- acceptance/bundle/refschema/output.txt | 12 +-- .../cmd/account/account-help/output.txt | 10 +- acceptance/cmd/auth/docker/help/output.txt | 24 ++--- acceptance/cmd/sync-without-args/output.txt | 26 ++--- acceptance/cmd/unknown-subcommand/output.txt | 10 +- acceptance/cmd/workspace/apps/output.txt | 44 ++++---- .../cmd/workspace/arg-validation/output.txt | 78 +++++++------- .../update-database-instance/output.txt | 26 ++--- acceptance/cmd/workspace/secrets/output.txt | 10 +- acceptance/help/output.txt | 12 +-- acceptance/localenv/help/output.txt | 24 ++--- .../pipelines/databricks-cli-help/output.txt | 12 +-- acceptance/pipelines/show/help/output.txt | 12 +-- .../pipelines/test/arguments/output.txt | 12 +-- libs/cmdgroup/command_test.go | 2 +- 35 files changed, 375 insertions(+), 375 deletions(-) diff --git a/acceptance/air/config-help/output.txt b/acceptance/air/config-help/output.txt index 624f0c4cd24..94764d7752c 100644 --- a/acceptance/air/config-help/output.txt +++ b/acceptance/air/config-help/output.txt @@ -31,17 +31,17 @@ Examples: Flags: -f, --file string Path to the workload YAML config - --watch Stream logs until the run completes + --watch[=true|false] Stream logs until the run completes --override stringArray Override a YAML field, e.g. compute.num_accelerators=8 (repeatable) - --dry-run Validate the config against the workspace without submitting a run + --dry-run[=true|false] Validate the config against the workspace without submitting a run --idempotency-key string Return the existing run if this key was already used - -h, --help help for run + -h, --help[=true|false] help for run Global Flags: - --debug enable debug logging - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) + --debug[=true|false] enable debug logging + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) === schema overview diff --git a/acceptance/air/help/output.txt b/acceptance/air/help/output.txt index 7b37a4c83ac..df1a20ce687 100644 --- a/acceptance/air/help/output.txt +++ b/acceptance/air/help/output.txt @@ -28,13 +28,13 @@ Provisioned capacity: pools View provisioned GPU pools, if any (not required to run) Flags: - -h, --help help for air + -h, --help[=true|false] help for air Global Flags: - --debug enable debug logging - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) + --debug[=true|false] enable debug logging + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) Use "databricks air [command] --help" for more information about a command. @@ -73,17 +73,17 @@ Examples: --filter user=person@example.com Flags: - --all-status Show runs in all states (default: active only) - --all-users Show runs from all users - --filter stringArray Filter runs by KEY=VALUE (repeatable) - -h, --help help for list - --limit int Maximum number of runs to show (default 20) + --all-status[=true|false] Show runs in all states (default: active only) + --all-users[=true|false] Show runs from all users + --filter stringArray Filter runs by KEY=VALUE (repeatable) + -h, --help[=true|false] help for list + --limit int Maximum number of runs to show (default 20) Global Flags: - --debug enable debug logging - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) + --debug[=true|false] enable debug logging + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) === get help @@ -96,13 +96,13 @@ Usage: databricks air get JOB_RUN_ID [flags] Flags: - -h, --help help for get + -h, --help[=true|false] help for get Global Flags: - --debug enable debug logging - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) + --debug[=true|false] enable debug logging + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) === pools help @@ -122,13 +122,13 @@ Available Commands: list List the GPU pools available to the current workspace Flags: - -h, --help help for pools + -h, --help[=true|false] help for pools Global Flags: - --debug enable debug logging - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) + --debug[=true|false] enable debug logging + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) Use "databricks air pools [command] --help" for more information about a command. @@ -145,13 +145,13 @@ Available Commands: push *Preview* Push a container image to Databricks Artifact Registry Flags: - -h, --help help for images + -h, --help[=true|false] help for images Global Flags: - --debug enable debug logging - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) + --debug[=true|false] enable debug logging + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) Use "databricks air images [command] --help" for more information about a command. @@ -176,18 +176,18 @@ Usage: databricks air images push [flags] Flags: - --artifact string Destination ARTIFACT[:TAG]; defaults to the source image name and tag (latest if untagged); maximum 255 characters for catalog.schema.artifact and 128 for the tag - --catalog string Destination Unity Catalog catalog; use lowercase letters and digits separated by one or two underscores or one or more hyphens - -h, --help help for push - --pull Pull the source image even when it is already available locally - --schema string Destination Unity Catalog schema; use lowercase letters and digits separated by one or two underscores or one or more hyphens - -s, --source string Source container image to push (NAME[:TAG] or NAME@DIGEST) + --artifact string Destination ARTIFACT[:TAG]; defaults to the source image name and tag (latest if untagged); maximum 255 characters for catalog.schema.artifact and 128 for the tag + --catalog string Destination Unity Catalog catalog; use lowercase letters and digits separated by one or two underscores or one or more hyphens + -h, --help[=true|false] help for push + --pull[=true|false] Pull the source image even when it is already available locally + --schema string Destination Unity Catalog schema; use lowercase letters and digits separated by one or two underscores or one or more hyphens + -s, --source string Source container image to push (NAME[:TAG] or NAME@DIGEST) Global Flags: - --debug enable debug logging - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) + --debug[=true|false] enable debug logging + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) === logs help @@ -207,17 +207,17 @@ Examples: Flags: --download-to string Download all logs to this directory instead of printing - -h, --help help for logs + -h, --help[=true|false] help for logs --minutes int Fetch only logs from the last N minutes --node int Fetch logs from this node --retry int View logs from a specific retry attempt; -1 means latest (default -1) --tail int Print the last N existing lines before following, or from a completed run (default 10000) Global Flags: - --debug enable debug logging - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) + --debug[=true|false] enable debug logging + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) === cancel help @@ -231,12 +231,12 @@ Usage: databricks air cancel [JOB_RUN_ID...] [flags] Flags: - --all Cancel all of your active runs - -h, --help help for cancel - -y, --yes Skip the confirmation prompt + --all[=true|false] Cancel all of your active runs + -h, --help[=true|false] help for cancel + -y, --yes[=true|false] Skip the confirmation prompt Global Flags: - --debug enable debug logging - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) + --debug[=true|false] enable debug logging + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) diff --git a/acceptance/air/image-push/output.txt b/acceptance/air/image-push/output.txt index 7f2dce10ac9..51a2c5c0c29 100644 --- a/acceptance/air/image-push/output.txt +++ b/acceptance/air/image-push/output.txt @@ -150,18 +150,18 @@ Usage: databricks air images push [flags] Flags: - --artifact string Destination ARTIFACT[:TAG]; defaults to the source image name and tag (latest if untagged); maximum 255 characters for catalog.schema.artifact and 128 for the tag - --catalog string Destination Unity Catalog catalog; use lowercase letters and digits separated by one or two underscores or one or more hyphens - -h, --help help for push - --pull Pull the source image even when it is already available locally - --schema string Destination Unity Catalog schema; use lowercase letters and digits separated by one or two underscores or one or more hyphens - -s, --source string Source container image to push (NAME[:TAG] or NAME@DIGEST) + --artifact string Destination ARTIFACT[:TAG]; defaults to the source image name and tag (latest if untagged); maximum 255 characters for catalog.schema.artifact and 128 for the tag + --catalog string Destination Unity Catalog catalog; use lowercase letters and digits separated by one or two underscores or one or more hyphens + -h, --help[=true|false] help for push + --pull[=true|false] Pull the source image even when it is already available locally + --schema string Destination Unity Catalog schema; use lowercase letters and digits separated by one or two underscores or one or more hyphens + -s, --source string Source container image to push (NAME[:TAG] or NAME@DIGEST) Global Flags: - --debug enable debug logging - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) + --debug[=true|false] enable debug logging + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) >>> musterr databricks air images push --image artifact @@ -171,18 +171,18 @@ Usage: databricks air images push [flags] Flags: - --artifact string Destination ARTIFACT[:TAG]; defaults to the source image name and tag (latest if untagged); maximum 255 characters for catalog.schema.artifact and 128 for the tag - --catalog string Destination Unity Catalog catalog; use lowercase letters and digits separated by one or two underscores or one or more hyphens - -h, --help help for push - --pull Pull the source image even when it is already available locally - --schema string Destination Unity Catalog schema; use lowercase letters and digits separated by one or two underscores or one or more hyphens - -s, --source string Source container image to push (NAME[:TAG] or NAME@DIGEST) + --artifact string Destination ARTIFACT[:TAG]; defaults to the source image name and tag (latest if untagged); maximum 255 characters for catalog.schema.artifact and 128 for the tag + --catalog string Destination Unity Catalog catalog; use lowercase letters and digits separated by one or two underscores or one or more hyphens + -h, --help[=true|false] help for push + --pull[=true|false] Pull the source image even when it is already available locally + --schema string Destination Unity Catalog schema; use lowercase letters and digits separated by one or two underscores or one or more hyphens + -s, --source string Source container image to push (NAME[:TAG] or NAME@DIGEST) Global Flags: - --debug enable debug logging - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) + --debug[=true|false] enable debug logging + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) === reject oversized catalog.schema.artifact before Docker operations diff --git a/acceptance/bundle/debug/output.txt b/acceptance/bundle/debug/output.txt index 4ffe6a75c65..e1f0c5f2e36 100644 --- a/acceptance/bundle/debug/output.txt +++ b/acceptance/bundle/debug/output.txt @@ -8,13 +8,13 @@ Available Commands: states Show available state files Flags: - -h, --help help for debug + -h, --help[=true|false] help for debug Global Flags: - --debug enable debug logging - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) - --var strings set values for variables defined in bundle config. Example: --var="foo=bar" + --debug[=true|false] enable debug logging + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) + --var strings set values for variables defined in bundle config. Example: --var="foo=bar" Use "databricks bundle debug [command] --help" for more information about a command. diff --git a/acceptance/bundle/help/bundle-deploy/output.txt b/acceptance/bundle/help/bundle-deploy/output.txt index 2b4838b6fa6..a4fb919334a 100644 --- a/acceptance/bundle/help/bundle-deploy/output.txt +++ b/acceptance/bundle/help/bundle-deploy/output.txt @@ -13,19 +13,19 @@ Usage: databricks bundle deploy [flags] Flags: - --auto-approve Skip interactive approvals that might be required for deployment. - -c, --cluster-id string Override cluster in the deployment with the given cluster ID. - --fail-on-active-runs Fail if there are running jobs or pipelines in the deployment. - --force Force-override Git branch validation. - --force-lock Force acquisition of deployment lock. - -h, --help help for deploy - --plan string Path to a JSON plan file to apply instead of planning. - -q, --quiet count Reduce output: -q prints only the summary, -qq prints only warnings and errors. - --select strings Deploy only the specified resource (e.g. 'my_job' or 'jobs.my_job'). Can be repeated or comma-separated. + --auto-approve[=true|false] Skip interactive approvals that might be required for deployment. + -c, --cluster-id string Override cluster in the deployment with the given cluster ID. + --fail-on-active-runs[=true|false] Fail if there are running jobs or pipelines in the deployment. + --force[=true|false] Force-override Git branch validation. + --force-lock[=true|false] Force acquisition of deployment lock. + -h, --help[=true|false] help for deploy + --plan string Path to a JSON plan file to apply instead of planning. + -q, --quiet count Reduce output: -q prints only the summary, -qq prints only warnings and errors. + --select strings Deploy only the specified resource (e.g. 'my_job' or 'jobs.my_job'). Can be repeated or comma-separated. Global Flags: - --debug enable debug logging - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) - --var strings set values for variables defined in bundle config. Example: --var="foo=bar" + --debug[=true|false] enable debug logging + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) + --var strings set values for variables defined in bundle config. Example: --var="foo=bar" diff --git a/acceptance/bundle/help/bundle-deployment-migrate/output.txt b/acceptance/bundle/help/bundle-deployment-migrate/output.txt index 9312fb85ffc..874699cbe4d 100644 --- a/acceptance/bundle/help/bundle-deployment-migrate/output.txt +++ b/acceptance/bundle/help/bundle-deployment-migrate/output.txt @@ -12,12 +12,12 @@ Usage: databricks bundle deployment migrate [flags] Flags: - -h, --help help for migrate - --noplancheck No-op (kept for compatibility). + -h, --help[=true|false] help for migrate + --noplancheck[=true|false] No-op (kept for compatibility). Global Flags: - --debug enable debug logging - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) - --var strings set values for variables defined in bundle config. Example: --var="foo=bar" + --debug[=true|false] enable debug logging + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) + --var strings set values for variables defined in bundle config. Example: --var="foo=bar" diff --git a/acceptance/bundle/help/bundle-deployment/output.txt b/acceptance/bundle/help/bundle-deployment/output.txt index a135735cd44..7824a822a1f 100644 --- a/acceptance/bundle/help/bundle-deployment/output.txt +++ b/acceptance/bundle/help/bundle-deployment/output.txt @@ -25,13 +25,13 @@ Available Commands: unbind Unbind bundle-defined resources from its managed remote resource Flags: - -h, --help help for deployment + -h, --help[=true|false] help for deployment Global Flags: - --debug enable debug logging - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) - --var strings set values for variables defined in bundle config. Example: --var="foo=bar" + --debug[=true|false] enable debug logging + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) + --var strings set values for variables defined in bundle config. Example: --var="foo=bar" Use "databricks bundle deployment [command] --help" for more information about a command. diff --git a/acceptance/bundle/help/bundle-destroy/output.txt b/acceptance/bundle/help/bundle-destroy/output.txt index 73e72c9e4f9..db70c90d18a 100644 --- a/acceptance/bundle/help/bundle-destroy/output.txt +++ b/acceptance/bundle/help/bundle-destroy/output.txt @@ -17,14 +17,14 @@ Usage: databricks bundle destroy [flags] Flags: - --auto-approve Skip interactive approvals for deleting resources and files - --force-lock Force acquisition of deployment lock. - -h, --help help for destroy - -q, --quiet count Reduce output: -qq prints only warnings and errors. + --auto-approve[=true|false] Skip interactive approvals for deleting resources and files + --force-lock[=true|false] Force acquisition of deployment lock. + -h, --help[=true|false] help for destroy + -q, --quiet count Reduce output: -qq prints only warnings and errors. Global Flags: - --debug enable debug logging - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) - --var strings set values for variables defined in bundle config. Example: --var="foo=bar" + --debug[=true|false] enable debug logging + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) + --var strings set values for variables defined in bundle config. Example: --var="foo=bar" diff --git a/acceptance/bundle/help/bundle-generate-dashboard/output.txt b/acceptance/bundle/help/bundle-generate-dashboard/output.txt index 41ed2d6c02a..29d88cde059 100644 --- a/acceptance/bundle/help/bundle-generate-dashboard/output.txt +++ b/acceptance/bundle/help/bundle-generate-dashboard/output.txt @@ -39,16 +39,16 @@ Flags: -s, --dashboard-dir string directory to write the dashboard representation to (default "src") --existing-id string ID of the dashboard to generate configuration for --existing-path string workspace path of the dashboard to generate configuration for - -f, --force force overwrite existing files in the output directory - -h, --help help for dashboard + -f, --force[=true|false] force overwrite existing files in the output directory + -h, --help[=true|false] help for dashboard --resource string resource key of dashboard to watch for changes -d, --resource-dir string directory to write the configuration to (default "resources") - --watch watch for changes to the dashboard and update the configuration + --watch[=true|false] watch for changes to the dashboard and update the configuration Global Flags: - --debug enable debug logging - --key string resource key to use for the generated configuration - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) - --var strings set values for variables defined in bundle config. Example: --var="foo=bar" + --debug[=true|false] enable debug logging + --key string resource key to use for the generated configuration + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) + --var strings set values for variables defined in bundle config. Example: --var="foo=bar" diff --git a/acceptance/bundle/help/bundle-generate-job/output.txt b/acceptance/bundle/help/bundle-generate-job/output.txt index 092babc9af9..e0a83c930c0 100644 --- a/acceptance/bundle/help/bundle-generate-job/output.txt +++ b/acceptance/bundle/help/bundle-generate-job/output.txt @@ -29,17 +29,17 @@ Usage: databricks bundle generate job [flags] Flags: - -d, --config-dir string Dir path where the output config will be stored (default "resources") - --download-spark-python-files download workspace files referenced by spark_python_task and rewrite them to a relative path - --existing-job-id int Job ID of the job to generate config for - -f, --force Force overwrite existing files in the output directory - -h, --help help for job - -s, --source-dir string Dir path where the downloaded files will be stored (default "src") + -d, --config-dir string Dir path where the output config will be stored (default "resources") + --download-spark-python-files[=true|false] download workspace files referenced by spark_python_task and rewrite them to a relative path + --existing-job-id int Job ID of the job to generate config for + -f, --force[=true|false] Force overwrite existing files in the output directory + -h, --help[=true|false] help for job + -s, --source-dir string Dir path where the downloaded files will be stored (default "src") Global Flags: - --debug enable debug logging - --key string resource key to use for the generated configuration - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) - --var strings set values for variables defined in bundle config. Example: --var="foo=bar" + --debug[=true|false] enable debug logging + --key string resource key to use for the generated configuration + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) + --var strings set values for variables defined in bundle config. Example: --var="foo=bar" diff --git a/acceptance/bundle/help/bundle-generate-pipeline/output.txt b/acceptance/bundle/help/bundle-generate-pipeline/output.txt index 884cd8614e8..d3c3ec0475a 100644 --- a/acceptance/bundle/help/bundle-generate-pipeline/output.txt +++ b/acceptance/bundle/help/bundle-generate-pipeline/output.txt @@ -30,14 +30,14 @@ Usage: Flags: -d, --config-dir string Dir path where the output config will be stored (default "resources") --existing-pipeline-id string ID of the pipeline to generate config for - -f, --force Force overwrite existing files in the output directory - -h, --help help for pipeline + -f, --force[=true|false] Force overwrite existing files in the output directory + -h, --help[=true|false] help for pipeline -s, --source-dir string Dir path where the downloaded files will be stored (default "src") Global Flags: - --debug enable debug logging - --key string resource key to use for the generated configuration - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) - --var strings set values for variables defined in bundle config. Example: --var="foo=bar" + --debug[=true|false] enable debug logging + --key string resource key to use for the generated configuration + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) + --var strings set values for variables defined in bundle config. Example: --var="foo=bar" diff --git a/acceptance/bundle/help/bundle-generate/output.txt b/acceptance/bundle/help/bundle-generate/output.txt index 39ce9293539..a4bc39d587e 100644 --- a/acceptance/bundle/help/bundle-generate/output.txt +++ b/acceptance/bundle/help/bundle-generate/output.txt @@ -35,14 +35,14 @@ Available Commands: pipeline Generate bundle configuration for a pipeline Flags: - -h, --help help for generate - --key string resource key to use for the generated configuration + -h, --help[=true|false] help for generate + --key string resource key to use for the generated configuration Global Flags: - --debug enable debug logging - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) - --var strings set values for variables defined in bundle config. Example: --var="foo=bar" + --debug[=true|false] enable debug logging + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) + --var strings set values for variables defined in bundle config. Example: --var="foo=bar" Use "databricks bundle generate [command] --help" for more information about a command. diff --git a/acceptance/bundle/help/bundle-init/output.txt b/acceptance/bundle/help/bundle-init/output.txt index f11b6b51005..a3a4e3696aa 100644 --- a/acceptance/bundle/help/bundle-init/output.txt +++ b/acceptance/bundle/help/bundle-init/output.txt @@ -30,14 +30,14 @@ Usage: Flags: --branch string Git branch to use for template initialization --config-file string JSON file containing key value pairs of input parameters required for template initialization. - -h, --help help for init + -h, --help[=true|false] help for init --output-dir string Directory to write the initialized template to. --tag string Git tag to use for template initialization --template-dir string Directory path within a Git repository containing the template. Global Flags: - --debug enable debug logging - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) - --var strings set values for variables defined in bundle config. Example: --var="foo=bar" + --debug[=true|false] enable debug logging + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) + --var strings set values for variables defined in bundle config. Example: --var="foo=bar" diff --git a/acceptance/bundle/help/bundle-open/output.txt b/acceptance/bundle/help/bundle-open/output.txt index 8c5f25db3cb..ecec6e6347e 100644 --- a/acceptance/bundle/help/bundle-open/output.txt +++ b/acceptance/bundle/help/bundle-open/output.txt @@ -13,12 +13,12 @@ Usage: databricks bundle open [flags] Flags: - --force-pull Skip local cache and load the state from the remote workspace - -h, --help help for open + --force-pull[=true|false] Skip local cache and load the state from the remote workspace + -h, --help[=true|false] help for open Global Flags: - --debug enable debug logging - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) - --var strings set values for variables defined in bundle config. Example: --var="foo=bar" + --debug[=true|false] enable debug logging + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) + --var strings set values for variables defined in bundle config. Example: --var="foo=bar" diff --git a/acceptance/bundle/help/bundle-run/output.txt b/acceptance/bundle/help/bundle-run/output.txt index 5e44a6839c6..9422705087f 100644 --- a/acceptance/bundle/help/bundle-run/output.txt +++ b/acceptance/bundle/help/bundle-run/output.txt @@ -71,20 +71,20 @@ Job Task Flags: --sql-params stringToString A map from keys to values for jobs with SQL tasks. (default []) Pipeline Flags: - --full-refresh selectors Space-separated table: or file: selectors to reset and recompute. Quote lists or repeat the flag. - --full-refresh-all Perform a full graph reset and recompute. - --refresh selectors Space-separated table: or file: selectors to update. Quote lists or repeat the flag. - --refresh-all Perform a full graph update. - --validate-only Perform an update to validate graph correctness. + --full-refresh selectors Space-separated table: or file: selectors to reset and recompute. Quote lists or repeat the flag. + --full-refresh-all[=true|false] Perform a full graph reset and recompute. + --refresh selectors Space-separated table: or file: selectors to update. Quote lists or repeat the flag. + --refresh-all[=true|false] Perform a full graph update. + --validate-only[=true|false] Perform an update to validate graph correctness. Flags: - -h, --help help for run - --no-wait Don't wait for the run to complete. - --restart Restart the run if it is already running. + -h, --help[=true|false] help for run + --no-wait[=true|false] Don't wait for the run to complete. + --restart[=true|false] Restart the run if it is already running. Global Flags: - --debug enable debug logging - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) - --var strings set values for variables defined in bundle config. Example: --var="foo=bar" + --debug[=true|false] enable debug logging + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) + --var strings set values for variables defined in bundle config. Example: --var="foo=bar" diff --git a/acceptance/bundle/help/bundle-schema/output.txt b/acceptance/bundle/help/bundle-schema/output.txt index 033159418b6..64229c8648a 100644 --- a/acceptance/bundle/help/bundle-schema/output.txt +++ b/acceptance/bundle/help/bundle-schema/output.txt @@ -13,11 +13,11 @@ Usage: databricks bundle schema [flags] Flags: - -h, --help help for schema + -h, --help[=true|false] help for schema Global Flags: - --debug enable debug logging - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) - --var strings set values for variables defined in bundle config. Example: --var="foo=bar" + --debug[=true|false] enable debug logging + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) + --var strings set values for variables defined in bundle config. Example: --var="foo=bar" diff --git a/acceptance/bundle/help/bundle-summary/output.txt b/acceptance/bundle/help/bundle-summary/output.txt index d3c0c961edb..d2257969f44 100644 --- a/acceptance/bundle/help/bundle-summary/output.txt +++ b/acceptance/bundle/help/bundle-summary/output.txt @@ -7,12 +7,12 @@ Usage: databricks bundle summary [flags] Flags: - --force-pull Skip local cache and load the state from the remote workspace - -h, --help help for summary + --force-pull[=true|false] Skip local cache and load the state from the remote workspace + -h, --help[=true|false] help for summary Global Flags: - --debug enable debug logging - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) - --var strings set values for variables defined in bundle config. Example: --var="foo=bar" + --debug[=true|false] enable debug logging + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) + --var strings set values for variables defined in bundle config. Example: --var="foo=bar" diff --git a/acceptance/bundle/help/bundle-sync/output.txt b/acceptance/bundle/help/bundle-sync/output.txt index 2d7c3ef9959..9c1a1487921 100644 --- a/acceptance/bundle/help/bundle-sync/output.txt +++ b/acceptance/bundle/help/bundle-sync/output.txt @@ -15,15 +15,15 @@ Usage: databricks bundle sync [flags] Flags: - --dry-run simulate sync execution without making actual changes - --full perform full synchronization (default is incremental) - -h, --help help for sync - --interval duration file system polling interval (for --watch) (default 1s) - --watch watch local file system for changes + --dry-run[=true|false] simulate sync execution without making actual changes + --full[=true|false] perform full synchronization (default is incremental) + -h, --help[=true|false] help for sync + --interval duration file system polling interval (for --watch) (default 1s) + --watch[=true|false] watch local file system for changes Global Flags: - --debug enable debug logging - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) - --var strings set values for variables defined in bundle config. Example: --var="foo=bar" + --debug[=true|false] enable debug logging + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) + --var strings set values for variables defined in bundle config. Example: --var="foo=bar" diff --git a/acceptance/bundle/help/bundle-validate/output.txt b/acceptance/bundle/help/bundle-validate/output.txt index dbb15761b31..efc59c6bf0a 100644 --- a/acceptance/bundle/help/bundle-validate/output.txt +++ b/acceptance/bundle/help/bundle-validate/output.txt @@ -15,12 +15,12 @@ Usage: databricks bundle validate [flags] Flags: - -h, --help help for validate - --strict Treat warnings as errors + -h, --help[=true|false] help for validate + --strict[=true|false] Treat warnings as errors Global Flags: - --debug enable debug logging - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) - --var strings set values for variables defined in bundle config. Example: --var="foo=bar" + --debug[=true|false] enable debug logging + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) + --var strings set values for variables defined in bundle config. Example: --var="foo=bar" diff --git a/acceptance/bundle/help/bundle/output.txt b/acceptance/bundle/help/bundle/output.txt index 624e18db9ca..9d3776b9088 100644 --- a/acceptance/bundle/help/bundle/output.txt +++ b/acceptance/bundle/help/bundle/output.txt @@ -32,13 +32,13 @@ Available Commands: validate Validate configuration Flags: - -h, --help help for bundle - --var strings set values for variables defined in bundle config. Example: --var="foo=bar" + -h, --help[=true|false] help for bundle + --var strings set values for variables defined in bundle config. Example: --var="foo=bar" Global Flags: - --debug enable debug logging - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) + --debug[=true|false] enable debug logging + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) Use "databricks bundle [command] --help" for more information about a command. diff --git a/acceptance/bundle/refschema/output.txt b/acceptance/bundle/refschema/output.txt index 31d951a62f0..ab3907d3e2e 100644 --- a/acceptance/bundle/refschema/output.txt +++ b/acceptance/bundle/refschema/output.txt @@ -10,11 +10,11 @@ Usage: databricks bundle debug refschema [flags] Flags: - -h, --help help for refschema + -h, --help[=true|false] help for refschema Global Flags: - --debug enable debug logging - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) - --var strings set values for variables defined in bundle config. Example: --var="foo=bar" + --debug[=true|false] enable debug logging + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) + --var strings set values for variables defined in bundle config. Example: --var="foo=bar" diff --git a/acceptance/cmd/account/account-help/output.txt b/acceptance/cmd/account/account-help/output.txt index 788df4f4e84..64c47baa533 100644 --- a/acceptance/cmd/account/account-help/output.txt +++ b/acceptance/cmd/account/account-help/output.txt @@ -58,12 +58,12 @@ Disaster Recovery disaster-recovery Manage disaster recovery configurations and execute failover operations. Flags: - -h, --help help for account + -h, --help[=true|false] help for account Global Flags: - --debug enable debug logging - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) + --debug[=true|false] enable debug logging + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) Use "databricks account [command] --help" for more information about a command. diff --git a/acceptance/cmd/auth/docker/help/output.txt b/acceptance/cmd/auth/docker/help/output.txt index a8f6c570d60..a85359a7979 100644 --- a/acceptance/cmd/auth/docker/help/output.txt +++ b/acceptance/cmd/auth/docker/help/output.txt @@ -22,15 +22,15 @@ Available Commands: Flags: --account-id string Databricks Account ID - -h, --help help for auth + -h, --help[=true|false] help for auth --host string Databricks Host --workspace-id string Databricks Workspace ID Global Flags: - --debug enable debug logging - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) + --debug[=true|false] enable debug logging + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) Use "databricks auth [command] --help" for more information about a command. @@ -46,11 +46,11 @@ Available Commands: token (Experimental) Generate a Docker credential Flags: - -h, --help help for docker + -h, --help[=true|false] help for docker Global Flags: --account-id string Databricks Account ID - --debug enable debug logging + --debug[=true|false] enable debug logging --host string Databricks Host -o, --output type output type: text or json (default text) -p, --profile string ~/.databrickscfg profile @@ -75,12 +75,12 @@ Usage: databricks auth docker configure [PROFILE] [flags] Flags: - -h, --help help for configure - --region string Artifact Registry region; we recommend omitting this flag because the region is inferred automatically (DEPRECATED: --region will be fully removed in the next release) + -h, --help[=true|false] help for configure + --region string Artifact Registry region; we recommend omitting this flag because the region is inferred automatically (DEPRECATED: --region will be fully removed in the next release) Global Flags: --account-id string Databricks Account ID - --debug enable debug logging + --debug[=true|false] enable debug logging --host string Databricks Host -o, --output type output type: text or json (default text) -p, --profile string ~/.databrickscfg profile @@ -99,11 +99,11 @@ Examples: databricks auth docker host --profile DEFAULT Flags: - -h, --help help for host + -h, --help[=true|false] help for host Global Flags: --account-id string Databricks Account ID - --debug enable debug logging + --debug[=true|false] enable debug logging --host string Databricks Host -o, --output type output type: text or json (default text) -p, --profile string ~/.databrickscfg profile diff --git a/acceptance/cmd/sync-without-args/output.txt b/acceptance/cmd/sync-without-args/output.txt index 6c757495507..525fb1b984e 100644 --- a/acceptance/cmd/sync-without-args/output.txt +++ b/acceptance/cmd/sync-without-args/output.txt @@ -6,19 +6,19 @@ Usage: databricks sync [flags] SRC DST Flags: - --dry-run simulate sync execution without making actual changes - --exclude strings patterns to exclude from sync (can be specified multiple times) - --exclude-from string file containing patterns to exclude from sync (one pattern per line) - --full perform full synchronization (default is incremental) - -h, --help help for sync - --include strings patterns to include in sync (can be specified multiple times) - --include-from string file containing patterns to include to sync (one pattern per line) - --interval duration file system polling interval (for --watch) (default 1s) - --watch watch local file system for changes + --dry-run[=true|false] simulate sync execution without making actual changes + --exclude strings patterns to exclude from sync (can be specified multiple times) + --exclude-from string file containing patterns to exclude from sync (one pattern per line) + --full[=true|false] perform full synchronization (default is incremental) + -h, --help[=true|false] help for sync + --include strings patterns to include in sync (can be specified multiple times) + --include-from string file containing patterns to include to sync (one pattern per line) + --interval duration file system polling interval (for --watch) (default 1s) + --watch[=true|false] watch local file system for changes Global Flags: - --debug enable debug logging - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) + --debug[=true|false] enable debug logging + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) diff --git a/acceptance/cmd/unknown-subcommand/output.txt b/acceptance/cmd/unknown-subcommand/output.txt index acaad967bdb..a53c2c19ca9 100644 --- a/acceptance/cmd/unknown-subcommand/output.txt +++ b/acceptance/cmd/unknown-subcommand/output.txt @@ -23,13 +23,13 @@ Available Commands: put-secret Add a secret. Flags: - -h, --help help for secrets + -h, --help[=true|false] help for secrets Global Flags: - --debug enable debug logging - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) + --debug[=true|false] enable debug logging + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) Use "databricks secrets [command] --help" for more information about a command. diff --git a/acceptance/cmd/workspace/apps/output.txt b/acceptance/cmd/workspace/apps/output.txt index 17b8b051ffe..e76e39f0f02 100644 --- a/acceptance/cmd/workspace/apps/output.txt +++ b/acceptance/cmd/workspace/apps/output.txt @@ -94,31 +94,31 @@ Usage: databricks apps update NAME [flags] Flags: - --budget-policy-id string - --compute-max-instances int Maximum number of app instances the app is configured to run. - --compute-min-instances int Minimum number of app instances the app is configured to run. - --compute-size ComputeSize Supported values: [LARGE, MEDIUM, XLARGE] - --description string The description of the app. - --forward-user-access-token Forward the user's access token to the app. - --git-auto-deploy Automatically redeploy the app on pushes to the configured Git branch. Requires --git-url and --git-provider. - --git-branch string Git branch to deploy from. - --git-commit string Git commit SHA to deploy from. - --git-provider string Git provider. Case insensitive. Supported values: gitHub, gitHubEnterprise, bitbucketCloud, bitbucketServer, azureDevOpsServices, gitLab, gitLabEnterpriseEdition, awsCodeCommit. - --git-source-code-path string Relative path to the app source code within the Git repository. Defaults to the repository root. - --git-tag string Git tag to deploy from. - --git-url string URL of the Git repository the app deploys from. - -h, --help help for update - --json JSON either inline JSON string or @path/to/file.json with request body (default JSON (0 bytes)) - --source-code-path string - --space string Name of the space this app belongs to. + --budget-policy-id string + --compute-max-instances int Maximum number of app instances the app is configured to run. + --compute-min-instances int Minimum number of app instances the app is configured to run. + --compute-size ComputeSize Supported values: [LARGE, MEDIUM, XLARGE] + --description string The description of the app. + --forward-user-access-token[=true|false] Forward the user's access token to the app. + --git-auto-deploy[=true|false] Automatically redeploy the app on pushes to the configured Git branch. Requires --git-url and --git-provider. + --git-branch string Git branch to deploy from. + --git-commit string Git commit SHA to deploy from. + --git-provider string Git provider. Case insensitive. Supported values: gitHub, gitHubEnterprise, bitbucketCloud, bitbucketServer, azureDevOpsServices, gitLab, gitLabEnterpriseEdition, awsCodeCommit. + --git-source-code-path string Relative path to the app source code within the Git repository. Defaults to the repository root. + --git-tag string Git tag to deploy from. + --git-url string URL of the Git repository the app deploys from. + -h, --help[=true|false] help for update + --json JSON either inline JSON string or @path/to/file.json with request body (default JSON (0 bytes)) + --source-code-path string + --space string Name of the space this app belongs to. --usage-policy-id string Global Flags: - --debug enable debug logging - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) - --var strings set values for variables defined in bundle config. Example: --var="key=value" + --debug[=true|false] enable debug logging + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) + --var strings set values for variables defined in bundle config. Example: --var="key=value" Exit code: 1 diff --git a/acceptance/cmd/workspace/arg-validation/output.txt b/acceptance/cmd/workspace/arg-validation/output.txt index c4d5c82a00f..b1a15a33517 100644 --- a/acceptance/cmd/workspace/arg-validation/output.txt +++ b/acceptance/cmd/workspace/arg-validation/output.txt @@ -8,47 +8,47 @@ Usage: databricks clusters create SPARK_VERSION [flags] Flags: - --apply-policy-default-values When set to true, fixed and default values from the policy will be used for fields that are omitted. - --autotermination-minutes int Automatically terminates the cluster after it is inactive for this time in minutes. - --cluster-name string Cluster name requested by the user. - --data-security-mode DataSecurityMode Supported values: [ - DATA_SECURITY_MODE_AUTO, - DATA_SECURITY_MODE_DEDICATED, - DATA_SECURITY_MODE_STANDARD, - LEGACY_PASSTHROUGH, - LEGACY_SINGLE_USER, - LEGACY_SINGLE_USER_STANDARD, - LEGACY_TABLE_ACL, - NONE, - SINGLE_USER, - USER_ISOLATION, - ] - --dependency-mode DependencyMode Controls dependency configuration for the cluster. Supported values: [DEPENDENCY_MODE_AUTO, DEPENDENCY_MODE_CLUSTER_LIBRARIES, DEPENDENCY_MODE_ENVIRONMENTS] - --driver-instance-pool-id string The optional ID of the instance pool for the driver of the cluster belongs. - --driver-node-type-id string The node type of the Spark driver. - --enable-elastic-disk Autoscaling Local Storage: when enabled, this cluster will dynamically acquire additional disk space when its Spark workers are running low on disk space. - --enable-local-disk-encryption Whether to enable LUKS on cluster VMs' local disks. - -h, --help help for create - --instance-pool-id string The optional ID of the instance pool to which the cluster belongs. - --is-single-node This field can only be used when kind = CLASSIC_PREVIEW. - --json JSON either inline JSON string or @path/to/file.json with request body (default JSON (0 bytes)) - --kind Kind Supported values: [CLASSIC_PREVIEW] - --no-wait do not wait to reach RUNNING state - --node-type-id string This field encodes, through a single value, the resources available to each of the Spark nodes in this cluster. - --num-workers int Number of worker nodes that this cluster should have. - --policy-id string The ID of the cluster policy used to create the cluster if applicable. - --remote-disk-throughput int If set, what the configurable throughput (in Mb/s) for the remote disk is. - --runtime-engine RuntimeEngine Determines the cluster's runtime engine, either standard or Photon. Supported values: [NULL, PHOTON, STANDARD] - --single-user-name string Single user name if data_security_mode is SINGLE_USER. - --timeout duration maximum amount of time to reach RUNNING state (default 20m0s) - --total-initial-remote-disk-size int If set, what the total initial volume size (in GB) of the remote disks should be. - --use-ml-runtime This field can only be used when kind = CLASSIC_PREVIEW. + --apply-policy-default-values[=true|false] When set to true, fixed and default values from the policy will be used for fields that are omitted. + --autotermination-minutes int Automatically terminates the cluster after it is inactive for this time in minutes. + --cluster-name string Cluster name requested by the user. + --data-security-mode DataSecurityMode Supported values: [ + DATA_SECURITY_MODE_AUTO, + DATA_SECURITY_MODE_DEDICATED, + DATA_SECURITY_MODE_STANDARD, + LEGACY_PASSTHROUGH, + LEGACY_SINGLE_USER, + LEGACY_SINGLE_USER_STANDARD, + LEGACY_TABLE_ACL, + NONE, + SINGLE_USER, + USER_ISOLATION, + ] + --dependency-mode DependencyMode Controls dependency configuration for the cluster. Supported values: [DEPENDENCY_MODE_AUTO, DEPENDENCY_MODE_CLUSTER_LIBRARIES, DEPENDENCY_MODE_ENVIRONMENTS] + --driver-instance-pool-id string The optional ID of the instance pool for the driver of the cluster belongs. + --driver-node-type-id string The node type of the Spark driver. + --enable-elastic-disk[=true|false] Autoscaling Local Storage: when enabled, this cluster will dynamically acquire additional disk space when its Spark workers are running low on disk space. + --enable-local-disk-encryption[=true|false] Whether to enable LUKS on cluster VMs' local disks. + -h, --help[=true|false] help for create + --instance-pool-id string The optional ID of the instance pool to which the cluster belongs. + --is-single-node[=true|false] This field can only be used when kind = CLASSIC_PREVIEW. + --json JSON either inline JSON string or @path/to/file.json with request body (default JSON (0 bytes)) + --kind Kind Supported values: [CLASSIC_PREVIEW] + --no-wait[=true|false] do not wait to reach RUNNING state + --node-type-id string This field encodes, through a single value, the resources available to each of the Spark nodes in this cluster. + --num-workers int Number of worker nodes that this cluster should have. + --policy-id string The ID of the cluster policy used to create the cluster if applicable. + --remote-disk-throughput int If set, what the configurable throughput (in Mb/s) for the remote disk is. + --runtime-engine RuntimeEngine Determines the cluster's runtime engine, either standard or Photon. Supported values: [NULL, PHOTON, STANDARD] + --single-user-name string Single user name if data_security_mode is SINGLE_USER. + --timeout duration maximum amount of time to reach RUNNING state (default 20m0s) + --total-initial-remote-disk-size int If set, what the total initial volume size (in GB) of the remote disks should be. + --use-ml-runtime[=true|false] This field can only be used when kind = CLASSIC_PREVIEW. Global Flags: - --debug enable debug logging - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) + --debug[=true|false] enable debug logging + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) === alerts-legacy create only accepts JSON input diff --git a/acceptance/cmd/workspace/database/update-database-instance/output.txt b/acceptance/cmd/workspace/database/update-database-instance/output.txt index 463b128eaf4..ca6c9cefb7d 100644 --- a/acceptance/cmd/workspace/database/update-database-instance/output.txt +++ b/acceptance/cmd/workspace/database/update-database-instance/output.txt @@ -6,21 +6,21 @@ Usage: databricks database update-database-instance NAME UPDATE_MASK [flags] Flags: - --capacity string The sku of the instance. - --enable-pg-native-login Whether to enable PG native password login on the instance. - --enable-readable-secondaries Whether to enable secondaries to serve read-only traffic. - -h, --help help for update-database-instance - --json JSON either inline JSON string or @path/to/file.json with request body (default JSON (0 bytes)) - --node-count int The number of nodes in the instance, composed of 1 primary and 0 or more secondaries. - --retention-window-in-days int The retention window for the instance. - --stopped Whether to stop the instance. - --usage-policy-id string The desired usage policy to associate with the instance. + --capacity string The sku of the instance. + --enable-pg-native-login[=true|false] Whether to enable PG native password login on the instance. + --enable-readable-secondaries[=true|false] Whether to enable secondaries to serve read-only traffic. + -h, --help[=true|false] help for update-database-instance + --json JSON either inline JSON string or @path/to/file.json with request body (default JSON (0 bytes)) + --node-count int The number of nodes in the instance, composed of 1 primary and 0 or more secondaries. + --retention-window-in-days int The retention window for the instance. + --stopped[=true|false] Whether to stop the instance. + --usage-policy-id string The desired usage policy to associate with the instance. Global Flags: - --debug enable debug logging - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) + --debug[=true|false] enable debug logging + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) Exit code: 1 diff --git a/acceptance/cmd/workspace/secrets/output.txt b/acceptance/cmd/workspace/secrets/output.txt index d0cf9312c6b..89182b9fd7e 100644 --- a/acceptance/cmd/workspace/secrets/output.txt +++ b/acceptance/cmd/workspace/secrets/output.txt @@ -29,12 +29,12 @@ Available Commands: put-secret Add a secret. Flags: - -h, --help help for secrets + -h, --help[=true|false] help for secrets Global Flags: - --debug enable debug logging - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) + --debug[=true|false] enable debug logging + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) Use "databricks secrets [command] --help" for more information about a command. diff --git a/acceptance/help/output.txt b/acceptance/help/output.txt index cdc5c359bfd..81afc7bef4c 100644 --- a/acceptance/help/output.txt +++ b/acceptance/help/output.txt @@ -200,11 +200,11 @@ Additional Commands: version Retrieve information about the current version of this CLI Flags: - --debug enable debug logging - -h, --help help for databricks - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) - -v, --version version for databricks + --debug[=true|false] enable debug logging + -h, --help[=true|false] help for databricks + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) + -v, --version[=true|false] version for databricks Use "databricks [command] --help" for more information about a command. diff --git a/acceptance/localenv/help/output.txt b/acceptance/localenv/help/output.txt index 836ebb00d41..9571007a819 100644 --- a/acceptance/localenv/help/output.txt +++ b/acceptance/localenv/help/output.txt @@ -20,17 +20,17 @@ Examples: databricks environments setup-local --serverless-version 5 --dry-run Flags: - --cluster-id string cluster ID to use as the compute target - --cluster-name string cluster name to use as the compute target (resolved to an ID via the Clusters API) - --dry-run compute the plan without writing files or provisioning - -h, --help help for setup-local - --job-task string job task to use as the compute target, as . (the task key is required) - --no-constraints skip writing the remote Python version and dependency constraints - --no-dbconnect skip adding the databricks-connect dependency - --serverless-version string serverless version to use as the compute target (e.g. 5) + --cluster-id string cluster ID to use as the compute target + --cluster-name string cluster name to use as the compute target (resolved to an ID via the Clusters API) + --dry-run[=true|false] compute the plan without writing files or provisioning + -h, --help[=true|false] help for setup-local + --job-task string job task to use as the compute target, as . (the task key is required) + --no-constraints[=true|false] skip writing the remote Python version and dependency constraints + --no-dbconnect[=true|false] skip adding the databricks-connect dependency + --serverless-version string serverless version to use as the compute target (e.g. 5) Global Flags: - --debug enable debug logging - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) + --debug[=true|false] enable debug logging + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) diff --git a/acceptance/pipelines/databricks-cli-help/output.txt b/acceptance/pipelines/databricks-cli-help/output.txt index adc729f4f5c..b854c9bacfe 100644 --- a/acceptance/pipelines/databricks-cli-help/output.txt +++ b/acceptance/pipelines/databricks-cli-help/output.txt @@ -52,13 +52,13 @@ Permission Commands update-permissions Update pipeline permissions. Flags: - -h, --help help for pipelines - --var strings set values for variables defined in project config. Example: --var="foo=bar" + -h, --help[=true|false] help for pipelines + --var strings set values for variables defined in project config. Example: --var="foo=bar" Global Flags: - --debug enable debug logging - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) + --debug[=true|false] enable debug logging + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) Use "databricks pipelines [command] --help" for more information about a command. diff --git a/acceptance/pipelines/show/help/output.txt b/acceptance/pipelines/show/help/output.txt index a2cc2ddc948..a1dfda9b90e 100644 --- a/acceptance/pipelines/show/help/output.txt +++ b/acceptance/pipelines/show/help/output.txt @@ -11,13 +11,13 @@ Usage: databricks pipelines show TABLE [flags] Flags: - -h, --help help for show + -h, --help[=true|false] help for show -n, --limit int Maximum number of rows to fetch. (default 10) --warehouse-id string SQL warehouse to run the query on. Defaults to DATABRICKS_WAREHOUSE_ID or a workspace default. Global Flags: - --debug enable debug logging - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) - --var strings set values for variables defined in project config. Example: --var="foo=bar" + --debug[=true|false] enable debug logging + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) + --var strings set values for variables defined in project config. Example: --var="foo=bar" diff --git a/acceptance/pipelines/test/arguments/output.txt b/acceptance/pipelines/test/arguments/output.txt index 0e7d4dfb200..2140c1e9285 100644 --- a/acceptance/pipelines/test/arguments/output.txt +++ b/acceptance/pipelines/test/arguments/output.txt @@ -31,14 +31,14 @@ Pipeline Test Flags: --pytest-arg stringArray Argument to pass to pytest (repeatable). Only -k and -m are supported. Flags: - -h, --help help for test + -h, --help[=true|false] help for test Global Flags: - --debug enable debug logging - -o, --output type output type: text or json (default text) - -p, --profile string ~/.databrickscfg profile - -t, --target string bundle target to use (if applicable) - --var strings set values for variables defined in project config. Example: --var="foo=bar" + --debug[=true|false] enable debug logging + -o, --output type output type: text or json (default text) + -p, --profile string ~/.databrickscfg profile + -t, --target string bundle target to use (if applicable) + --var strings set values for variables defined in project config. Example: --var="foo=bar" === The command is experimental and off by default diff --git a/libs/cmdgroup/command_test.go b/libs/cmdgroup/command_test.go index 20904aad043..27f78e82854 100644 --- a/libs/cmdgroup/command_test.go +++ b/libs/cmdgroup/command_test.go @@ -58,7 +58,7 @@ Pipeline Flags: --pipeline-type string Type of the pipeline Flags: - -b, --bool Bool flag + -b, --bool[=true|false] Bool flag Global Flags: --global string Global flag