You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, neither OptionParser nor GLI provide a way to autogenerate a man page so that your documentation can automatically be kept consistent. Perhaps you’ll be inspired and create such a system.
This sounds like a very useful feature to add and, at the time of writing, I'm feeling inspired.
My skill level is not high enough to implement this feature (yet), but maybe we can get a discussion going on how this could best be implemented? Anyone else interested in this feature?
The text was updated successfully, but these errors were encountered:
In theory, the way the help system is designed, you could generate either a man page directly, or something that could be fed into the tools discussed in the book:
By using the document listener, you can get fed all parsed help documentation without having to worry about it yourself.
Developing this stuff via test-driven-development is somewhat tricky, but you could make a feature in features/ that basically runs the custom document listener as a sanity check.
Excerpt from "Build Awesome Command-Line Applications in Ruby" (page 51):
This sounds like a very useful feature to add and, at the time of writing, I'm feeling inspired.
My skill level is not high enough to implement this feature (yet), but maybe we can get a discussion going on how this could best be implemented? Anyone else interested in this feature?
The text was updated successfully, but these errors were encountered: