-
Notifications
You must be signed in to change notification settings - Fork 7
Add support for referencing flag types in documentation #12 #13
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
Conversation
Juneezee
left a comment
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.
Thanks for the PR! I think you need to run go mod tidy to update go.sum
|
Is this a user facing feature? How to test it with my projects? |
|
To test it you just need to have a command that has at least one flag available and generate the docs for it using the tabular template. In the generated table the column for "type" should be available |
|
I have no idea how to generate docs for |
|
You just have to use ToTabularMarkdown function. Check examples in docs_test.go |
|
Hey @dearchap, sorry to bother you but can you please review this PR? It is only 2 lines change and updated tests... |
|
Hey @dearchap, kind reminder, can you please take care of the comment above? |
Add support for referencing flag types in documentation #12