Closed ty-i3 closed 5 years ago
So let me recap; this change adds optional functions that override the way text is output when printing help?
Yes, that's right!
You'd do me a favor if you were to add an example under examples
that shows custom help generation. But I merged your changes and released as 0.1.18
Done as requested.
Thanks - great!
This feature request adds optional functions that override the way cli-matic prints help, affording complete byte-by-byte control over the help text.
Rationale: Our internal CLI tooling needs to adhere to certain policies regarding help and usability for developers. Certain info such as Git build, version string, and grouping of commands needs to be printed in the prescribed format. This feature request would realize the ability to completely control the presentation of generated help text to satisfy those policies.
An example of generating global help:
and using it as the global help text generator: