__main__.py
1 """Entry-point module, in case you use `python -m docstrings2pep727`. 2 3 Why does this file exist, and why `__main__`? For more info, read: 4 5 - https://www.python.org/dev/peps/pep-0338/ 6 - https://docs.python.org/3/using/cmdline.html#cmdoption-m 7 """ 8 9 import sys 10 11 from docstrings2pep727.cli import main 12 13 if __name__ == "__main__": 14 sys.exit(main(sys.argv[1:]))