Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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