summaryrefslogtreecommitdiff
path: root/venv/lib/python3.11/site-packages/rich_click/__main__.py
blob: 9406f8f32b8ff1eec3552e09949d7346ce858686 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
"""
Entry-point module for the command line prefixer, called in case you use `python -m rich_click`.

Why does this file exist, and why `__main__`? For more info, read:
- https://www.python.org/dev/peps/pep-0338/
- https://docs.python.org/3/using/cmdline.html#cmdoption-m
"""

from rich_click.cli import main

if __name__ == "__main__":
    # main will run a Click command which will either exit or raise
    main()