its-matrix-bot/its_matrix_bot/__main__.py

16 lines
293 B
Python
Raw Normal View History

import argparse
from . import ItSyndikatBot
from .config import Config
parser = argparse.ArgumentParser(description="IT-Syndikat matrix bot")
parser.add_argument(
2022-03-27 19:35:40 +02:00
"-c",
"--config",
help="path to the config file",
)
args = parser.parse_args()
ItSyndikatBot(Config(args.config))