import sys, argparse def run(args): print(args) def main(): ##### Parse arguments parser = argparse.ArgumentParser(description='ESDS Simulator CLI toolbox. Allow you to run simulations and perform various tasks.') parser.add_argument("run", help="Run a simulation", nargs="*") args = parser.parse_args() ##### Run commands if args.run: run(args.run)