its-matrix-bot/its_matrix_bot/__main__.py

14 lines
289 B
Python

import argparse
from . import ItSyndikatBot
from .config import Config
parser = argparse.ArgumentParser(description="IT-Syndikat matrix bot")
parser.add_argument(
"-c", "--config",
help="path to the config file",
)
args = parser.parse_args()
ItSyndikatBot(Config(args.config))