figure out how to generate help/usage text #44
andres-lowrie
started this conversation in
Ideas
Replies: 1 comment
-
I really like the idea of pulling it out of the comment; feels like the only way to keep it fresh and not forget about it |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
ideally the usage should live within, or as close as possible to the code in order for it not to go stale.
My original idea was to specify a file that could live next to the golang file something like a
file_man.xxx
or something but perhaps it makes more sense instead to pull this out of the comments of the actual code ... maybe leveraging theCommand
interface... so likeand then have a process that creates the documentation files out of that instead ...
Something like this would help keep the usage up to date
Beta Was this translation helpful? Give feedback.
All reactions