databricks-cli/cmd/workspace
Pieter Noordhuis dd92b3f989
Disable shell completions for generated commands (#483)
## Changes

Disable shell completions for generated commands.

Default completion behavior completes local files which never makes
sense.

Automatic contextual completion of required arguments would be super
powerful but a lot of work to get right. Until then, we could do manual
completion functions in `overrides.go` as needed.

This fixes #374.

## Tests

Confirmed manually that commands no longer complete local files.
2023-06-15 14:56:36 +00:00
..
alerts Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
catalogs Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
cluster-policies Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
clusters Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
connections Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
current-user Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
dashboards Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
data-sources Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
experiments Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
external-locations Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
functions Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
git-credentials Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
global-init-scripts Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
grants Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
groups Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
instance-pools Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
instance-profiles Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
ip-access-lists Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
jobs Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
libraries Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
metastores Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
model-registry Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
permissions Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
pipelines Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
policy-families Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
providers Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
queries Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
query-history Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
recipient-activation Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
recipients Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
repos Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
schemas Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
secrets Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
service-principals Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
serving-endpoints Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
shares Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
storage-credentials Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
system-schemas Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
table-constraints Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
tables Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
token-management Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
tokens Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
users Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
volumes Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
warehouses Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
workspace Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
workspace-bindings Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
workspace-conf Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
cmd.go Associate generated commands with command groups (#475) 2023-06-15 14:47:24 +00:00
groups.go Associate generated commands with command groups (#475) 2023-06-15 14:47:24 +00:00