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

Cleanup cli api #258

Merged
merged 7 commits into from
Apr 11, 2019
Merged

Cleanup cli api #258

merged 7 commits into from
Apr 11, 2019

Conversation

carolynvs
Copy link
Member

This addresses the recommendations from #129.

  • Group the commands by resources instead of verb
  • Alias bundle commands (so we have both porter install and porter bundle install)
  • Customize our help text to make this more discoverable
  • Hide runtime command porter run

Allow porter bundles list and
porter bundle create for a more natural syntax
* porter mixins list
* alias mixins to mixin so later we can do porter mixin COMMAND
* porter bundle create
* porter create
* porter bundle build
* porter build
@ghost ghost assigned carolynvs Apr 9, 2019
@ghost ghost added the review label Apr 9, 2019
Copy link
Member

@vdice vdice left a comment

Choose a reason for hiding this comment

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

Awesome cleanup! Learning more cobra trix 🐍

@carolynvs carolynvs merged commit 9fe8a57 into getporter:master Apr 11, 2019
@ghost ghost removed the review label Apr 11, 2019
@carolynvs carolynvs deleted the cleanup-cli-api branch April 11, 2019 16:25
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.

None yet

3 participants