Hello Christopher,
On 2024-11-12 16:23, Christopher Howard wrote:
Hi, if planning to make changes to --help output, could you please try
to preserve the output formatting as much as possible? I'm trying to
fix the bitrot in the emacs-guix "shell commands" code, which actually
parses the --help output using regexs, and and generates magit-popup
menus based on that. So little things like the number of spaces on the
line before the command name actually matter.
Sounds interesting.
I guess you are being implicit regarding the spacing order?
It may be more resilient to consider counting the number of opening
spaces/tabs and then compare the results.
In any case Id like to look at the uri to see how Transient is operating
off your PEGs.
Thanks for working on this!
Kind regards,
Jonathan