hamdanal / rich-argparse

A rich help formatter for argparse
https://pypi.org/project/rich-argparse/
MIT License
129 stars 11 forks source link

Group titles should not wrap #130

Closed hamdanal closed 3 months ago

hamdanal commented 3 months ago
import argparse
from rich_argparse import RichHelpFormatter

parser = argparse.ArgumentParser(
    prog="PROG", formatter_class=lambda prog: RichHelpFormatter(prog, width=4)
)
parser.print_help()

produces image