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

Re-add sonobuoy gen plugin. #398

Merged
merged 2 commits into from
Jun 22, 2018
Merged

Conversation

liztio
Copy link
Contributor

@liztio liztio commented Mar 26, 2018

Super helpful for debugging plugin generation.

Signed-off-by: liz liz@heptio.com

What this PR does / why we need it:

I used this in testing #397. I've needed it enough that I figured I might as well just add it back in.

Which issue(s) this PR fixes

  • Fixes #

Special notes for your reviewer:

Release note:

release-note

Super helpful for debugging plugin generation.

Signed-off-by: liz <liz@heptio.com>
Copy link
Contributor

@chuckha chuckha left a comment

Choose a reason for hiding this comment

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

lgtm


func init() {
cmd := &cobra.Command{
Use: "plugin",
Copy link
Contributor

Choose a reason for hiding this comment

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

This doesn't look like a sub-command of gen, but it's own sub-command of the root? Is that what you want?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I add it to GenCommand, so I think it'll be a subcommand of that, no?

"the paths to search for the plugins in. Defaults to . and ./plugins.d/",
)
// TODO: Other options?
GenCommand.AddCommand(cmd)
Copy link
Contributor

Choose a reason for hiding this comment

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

Ahh I see, nvmd.

@timothysc
Copy link
Contributor

@liztio go ahead and rebase and merge...

@timothysc timothysc merged commit 2a39858 into vmware-tanzu:master Jun 22, 2018
jhamilton1 pushed a commit to jhamilton1/sonobuoy that referenced this pull request Jun 27, 2018
Re-add `sonobuoy gen plugin`.
Signed-off-by: Jesse Hamilton jesse.hamilton@heptio.com
jhamilton1 pushed a commit to jhamilton1/sonobuoy that referenced this pull request Jun 27, 2018
Re-add `sonobuoy gen plugin`.
Signed-off-by: Jesse Hamilton jesse.hamilton@heptio.com

Signed-off-by: Jesse Hamilton jesse.hamilton@heptio.com
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