diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-09-11 17:18:38 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-09-11 17:18:38 +0200 |
| commit | 30ec71a84ca45bc2c0f43f1e2b40cf0441762716 (patch) | |
| tree | 370719cf8fbcd48291a2d70b3efaeb5e97755291 /esds | |
| parent | d61eb48cf8077121e823ba550a001674a0409c83 (diff) | |
Update entry point
Diffstat (limited to 'esds')
| -rw-r--r-- | esds/__main__.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/esds/__main__.py b/esds/__main__.py new file mode 100644 index 0000000..dbc333a --- /dev/null +++ b/esds/__main__.py @@ -0,0 +1,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) |
