Skip to content
Discussion options

You must be logged in to vote

Could you use before_help / before_long_help for this?

What I'm hoping to do is to decouple the help logic from the Command to allow for

  • avoid the cost of the renderer if the user pre-formats help
  • a hard coded renderer which would hopefully have a smaller code size
  • custom renderers

So with that in mind and with the existing extension points the template supports, i would be inclined to not have a long vs short template.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sdruskat
Comment options

Answer selected by sdruskat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants