How can we preview colorized help text? #1306
Replies: 1 comment
|
Thanks for reporting this — you found an implementation gap. The v6.3 colour support was active in the compiled usage-argv/usage-rs renderer, while I opened #1309 to add a terminal-aware usage-lib renderer and use it for Once that is merged and released, the command in this discussion will provide the preview you expected. Mise will also need to switch its task-help call to the new This comment was generated by Codex. |
Uh oh!
There was an error while loading. Please reload this page.
I was excited to see the release notes for v6.3.0:
I updated and gave it a try and I'm not seeing anything different:
I tried setting an explicit
help_templatevalue using the example in the MR:# [USAGE] help_template "{$heading}My tool{/$}\n\n{{usage}}\n\n{$cyan}{{flags}}{/$}"... and set various
CLICOLORenv vars - still no changes. Does anyone know how to get it to work?I'm particularly interested in getting my mise tasks to show colorized help text, but I'm assuming that will require mise to be updated to use the latest version of usage-lib. Just interested in getting a preview.
All reactions