Skip to content
New issue

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

Add a terminate clusters subcommand as alias #1804

Open
daureg opened this issue Oct 2, 2024 · 1 comment
Open

Add a terminate clusters subcommand as alias #1804

daureg opened this issue Oct 2, 2024 · 1 comment
Labels
CLI CLI related issues Enhancement New feature or request good first issue Good for newcomers

Comments

@daureg
Copy link

daureg commented Oct 2, 2024

Describe the issue

One can start & restart cluster with the CLI (which match the label in UI), but to terminate a cluster one must call databricks clusters delete, which is not intuitive

Steps to reproduce the behavior

databricks clusters terminate --help

Expected Behavior

I would expect the same behavior as databricks clusters delete --help

Actual Behavior

It just shows the general cluster help

OS and CLI version

Databricks CLI v0.228.1 on linux

Is this a regression?

No

Debug Logs

N/A

@daureg daureg added the CLI CLI related issues label Oct 2, 2024
@andrewnester andrewnester added Enhancement New feature or request good first issue Good for newcomers labels Oct 3, 2024
@aadi-1024
Copy link

Hello! From what I'm able to infer, it's expected that running databricks clusters terminate or databricks clusters terminate --help should suggest the user to use the delete subcommand instead by outputting the same help as databricks cluster delete, right?

I'd like to work on this if that's the case!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI CLI related issues Enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants