# -*- coding: utf-8 -*-

"""Entrypoint module, in case you use `python -m bohicalog`.
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 .cli import main
from .cli.handlers import telegram

if __name__ == "__main__":
    main.add_command(telegram)
    main()
