-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Try adding header to generated CLI docs #2944
Conversation
d797eb1
to
1b04aa9
Compare
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.
A comment about adding where. Let me know what you think.
cmd/kops/gen_help_docs.go
Outdated
@@ -21,6 +21,11 @@ import ( | |||
"github.com/spf13/cobra/doc" | |||
) | |||
|
|||
const fileHeader = ` | |||
<!--- This file is automatically generated by make gen-cli-docs; changes should be made in the go CLI command code --> |
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.
go CLI command code
Should we say where the code is? cmd/pkg/?
There are a lot of first timers that are making these changes. Make it simple for them.
I added the issue #2834 that this will close. |
d4739c1
to
a325bc7
Compare
Done! |
a325bc7
to
17b3fa3
Compare
/assign you can self merge if you beat me to it |
This should stop me changing the wrong place!
Fixes: #2834