Files
temp/src/cleveragents/__main__.py

18 lines
518 B
Python

"""
Entrypoint module, in case you use `python -mcleveragents`.
This module serves as the entry point when the package is executed directly
using `python -mcleveragents`. It delegates to the main CLI function.
Why does this file exist, and why __main__? For more info, read:
- https://www.python.org/dev/peps/pep-0338/
- https://docs.python.org/2/using/cmdline.html#cmdoption-m
- https://docs.python.org/3/using/cmdline.html#cmdoption-m
"""
from cleveragents.cli import main
if __name__ == "__main__":
main()