contrib.py 580 B

12345678910111213141516
  1. # Source code: https://github.com/hamdanal/rich-argparse
  2. # MIT license: Copyright (c) Ali Hamdan <ali.hamdan.dev@gmail.com>
  3. """Extra formatters for rich help messages.
  4. The rich_argparse.contrib module contains optional, standard implementations of common patterns of
  5. rich help message formatting. These formatters are not included in the main rich_argparse module
  6. because they do not translate directly to argparse formatters.
  7. """
  8. from __future__ import annotations
  9. from rich_argparse._contrib import ParagraphRichHelpFormatter
  10. __all__ = [
  11. "ParagraphRichHelpFormatter",
  12. ]