-
Notifications
You must be signed in to change notification settings - Fork 345
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
Conversation
Super helpful for debugging plugin generation. Signed-off-by: liz <[email protected]>
There was a problem hiding this 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", |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ahh I see, nvmd.
@liztio go ahead and rebase and merge... |
Re-add `sonobuoy gen plugin`. Signed-off-by: Jesse Hamilton [email protected]
Re-add `sonobuoy gen plugin`. Signed-off-by: Jesse Hamilton [email protected] Signed-off-by: Jesse Hamilton [email protected]
Super helpful for debugging plugin generation.
Signed-off-by: liz [email protected]
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
Special notes for your reviewer:
Release note: