Updated to main

This commit is contained in:
Qubasa
2023-10-03 13:12:44 +02:00
parent 1c0c11a954
commit af17c1bd7a
12 changed files with 258 additions and 144 deletions

View File

@@ -5,6 +5,11 @@ from . import register_parser
if __name__ == "__main__":
# this is use in our integration test
parser = argparse.ArgumentParser()
# call the register_parser function, which adds arguments to the parser
register_parser(parser)
args = parser.parse_args()
# call the function that is stored
# in the func attribute of args, and pass args as the argument
# look into register_parser to see how this is done
args.func(args)