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

Standardize on show for displaying resources #149

Merged
merged 3 commits into from
Apr 6, 2021

Conversation

iheanyi
Copy link
Member

@iheanyi iheanyi commented Apr 6, 2021

This pull request standardizes on show as the primary verb, with aliases to get as well in case some folks expect that.

Closes https://github.com/planetscale/project-big-bang/issues/173.

@iheanyi iheanyi requested a review from a team as a code owner April 6, 2021 17:43
Copy link
Member

@fatih fatih left a comment

Choose a reason for hiding this comment

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

Looks good to me 👍🏼 I think we should remove the aliases though to avoid any confusion. I think get-access and show-access leading to the same command is not something we would want. I like aliases like 'list, l' or 'deploy-request, dr', because that's natural.

@iheanyi
Copy link
Member Author

iheanyi commented Apr 6, 2021

@fatih For show/get or just for show-access alone?

@fatih
Copy link
Member

fatih commented Apr 6, 2021

@iheanyi for all of them. I think we should be consistent with those commands whenever we can. Adding them is easy, but removing them later will be a lot of harder once people start using them. Cobra makes it really easy to extend them like this 😅

@iheanyi iheanyi enabled auto-merge April 6, 2021 20:32
@iheanyi iheanyi merged commit c569e44 into main Apr 6, 2021
@iheanyi iheanyi deleted the iheanyi/standardize-on-show branch April 6, 2021 20:34
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