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

[Enhancement] Make list command always show all clusters. Remove --all option #56

Merged
merged 1 commit into from
May 19, 2019

Conversation

andyz-dev
Copy link
Contributor

@andyz-dev andyz-dev commented May 19, 2019

It feels more natural to have the list command show all clusters by
default.

@zeerorg asked a question in the same area in #33. I agree with his question as well.

I often forgot to add --all flag and find myself wondering what happened to the stopped clusters.

@zeerorg
Copy link
Collaborator

zeerorg commented May 19, 2019

This seems good to me 👍
Also we should probably not remove --all since it might confuse existing users, instead add a deprecation flag.

It feels more natural to have the list command show all clusters by
default.
@andyz-dev
Copy link
Contributor Author

@zeerorg I agree. Added --all back in and warn user about it.

Copy link
Member

@iwilltry42 iwilltry42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine for me, I originally did it that way to mirror "the docker way" of doing it.
Maybe we can add some sorting so that active clusters appear at the top of the list?

@iwilltry42 iwilltry42 merged commit ba231f5 into k3d-io:master May 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants