summaryrefslogtreecommitdiff
path: root/esds/__main__.py
blob: dbc333ae3c4f2ccc2c3a430cebcafe4d5536cc04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)