2023-06-14 16:30:17 +02:00
|
|
|
import argparse
|
2023-06-09 11:49:51 +02:00
|
|
|
import logging
|
|
|
|
|
|
|
|
from src import main
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
2023-06-14 16:30:17 +02:00
|
|
|
parser = argparse.ArgumentParser()
|
|
|
|
parser.add_argument("-v", "--verbose", help="increase output verbosity", action="store_true")
|
|
|
|
|
|
|
|
|
|
|
|
args = parser.parse_args()
|
|
|
|
|
|
|
|
if args.verbose:
|
|
|
|
logging.basicConfig(format='[%(levelname)s] : %(message)s', level=logging.DEBUG)
|
|
|
|
else:
|
|
|
|
logging.basicConfig(format='[%(levelname)s] : %(message)s', level=logging.INFO)
|
|
|
|
|
2023-06-09 11:49:51 +02:00
|
|
|
main.run()
|