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

Add plugin CLI for interacting with the plugin catalog #4911

Merged
merged 12 commits into from
Jul 13, 2018
Merged

Add plugin CLI for interacting with the plugin catalog #4911

merged 12 commits into from
Jul 13, 2018

Conversation

sethvargo
Copy link
Contributor

This PR adds the following commands, docs, and tests:

  • plugin list
  • plugin register
  • plugin deregister
  • plugin info

It also fixes a small bug I found in the API library.

briankassouf
briankassouf previously approved these changes Jul 13, 2018
Copy link
Member

@briankassouf briankassouf left a comment

Choose a reason for hiding this comment

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

This is super awesome!

helpText := `
Usage: vault plugin deregister [options] NAME

Deregister an existing plugin in the catalog. This command requires sudo
Copy link
Member

Choose a reason for hiding this comment

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

I wonder if this will confuse people into thinking they need to do sudo vault plugin deregister ...? I don't have a great suggestion for alternative phrasing though, maybe ".. requires a privileged vault user?" but that's true of all vault commands 🤷

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hmm yea - I agree with you. I'm going to remove it because I can see it causing problems.

@briankassouf briankassouf added this to the 0.10.4 milestone Jul 13, 2018
@briankassouf briankassouf merged commit c50881b into hashicorp:master Jul 13, 2018
@sethvargo sethvargo deleted the sethvargo/plugin_cli branch July 13, 2018 17:40
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