Version 1.4.0
Highlights of the release
- Add
HelpPreviewAction
to generate a preview of the help output in SVG, HTML, or TXT formats. - Allow arbitrary renderables like Markdown and Table in the descriptions and epilog.
What's Changed
- Update pre-commit and github actions by @hamdanal in #89
- Make
RichHelpFormatter
itself renderable with rich by @hamdanal in #90 - Allow passing a custom console to the formatter by @hamdanal in #92
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #94
- Add action to generate SVG, HTML, or TXT help preview by @hamdanal in #93
- Add links to the changelog by @hamdanal in #96
- Avoid importing
typing
to improve startup time 35% by @hamdanal in #97 - Add a style for default values when using
%(default)s
by @hamdanal in #98 - Allow arbitrary renderables in the descriptions and epilog by @hamdanal in #99
- Fix color of brackets surrounding positional arguments in the usage by @hamdanal in #101
Full Changelog: v1.3.0...v1.4.0