We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The error response could be greatly improved for better usability.
Example barely useful response to a command missing a parameter:
% databricks libraries cluster-status Error: accepts 1 arg(s), received 0
Better:
% databricks libraries cluster-status Error: accepts 1 arg(s), received 0 Usage: databricks libraries cluster-status CLUSTER_ID [-h | --help | flags]
Databricks CLI v0.211.0 MacOS
The text was updated successfully, but these errors were encountered:
Add usage string when command fails with incorrect arguments (#1276)
c781856
## Changes Add usage string when command fails with incorrect arguments Fixes #1119 ## Tests Example output ``` > databricks libraries cluster-status Error: accepts 1 arg(s), received 0 Usage: databricks libraries cluster-status CLUSTER_ID [flags] Flags: -h, --help help for cluster-status 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) ```
Successfully merging a pull request may close this issue.
Describe the issue
The error response could be greatly improved for better usability.
Example barely useful response to a command missing a parameter:
Better:
OS and CLI version
Databricks CLI v0.211.0
MacOS
The text was updated successfully, but these errors were encountered: