diff options
Diffstat (limited to 'src/ee/tools/seeed_download_opl.py')
-rw-r--r-- | src/ee/tools/seeed_download_opl.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/ee/tools/seeed_download_opl.py b/src/ee/tools/seeed_download_opl.py index e53361f..3f8b07b 100644 --- a/src/ee/tools/seeed_download_opl.py +++ b/src/ee/tools/seeed_download_opl.py @@ -5,12 +5,16 @@ from ee.supplier import seeed parser = argparse.ArgumentParser() -parser.add_argument("--out-dir", +parser.add_argument("--out", required=True, - metavar="DIR FOR PART DBS") + metavar="PART DB") + +parser.add_argument("--opl", + required=True, + metavar="OPL") args = parser.parse_args() cache_dir = ".ee/cache/seeed" -seeed.download_opls(Path(args.out_dir), Path(cache_dir)) +seeed.download_opl(Path(args.out), Path(cache_dir), args.opl) |