I was pleased to find I could combine yapx with rich_argparse (from https://github.com/hamdanal/rich-argparse ) as follows:
from rich_argparse import RichHelpFormatter
import yapx
def say_hello(name: str = 'World'):
print(f"Hello {name}")
yapx.run(say_hello, formatter_class=RichHelpFormatter)
Sample output with the colours done via rich (cropped):
Can you see where this might fit in the yapx documentation?
I was pleased to find I could combine
yapxwithrich_argparse(from https://github.com/hamdanal/rich-argparse ) as follows:Sample output with the colours done via rich (cropped):
Can you see where this might fit in the yapx documentation?