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

Switch to Cobra for CLI #3

Merged
merged 6 commits into from
Oct 16, 2020
Merged

Switch to Cobra for CLI #3

merged 6 commits into from
Oct 16, 2020

Conversation

patricksanders
Copy link
Contributor

@patricksanders patricksanders commented Oct 15, 2020

This is a breaking change for the weep CLI.

This PR adds the Cobra CLI library and migrates the logic in the old main() function into the cmd package. Weep calls are now subcommands (weep export ...) instead of flags (weep --export ...). Where needed, the role name is an argument instead of a flag as well.

@patricksanders patricksanders marked this pull request as ready for review October 15, 2020 23:08
@patricksanders patricksanders merged commit 2baf8f1 into master Oct 16, 2020
@patricksanders patricksanders deleted the cobrafy branch October 16, 2020 15:30
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.

2 participants