diff options
Diffstat (limited to 'src/ee/tools')
-rw-r--r-- | src/ee/tools/seeed_download_opl.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/ee/tools/seeed_download_opl.py b/src/ee/tools/seeed_download_opl.py new file mode 100644 index 0000000..e53361f --- /dev/null +++ b/src/ee/tools/seeed_download_opl.py @@ -0,0 +1,16 @@ +import argparse +from pathlib import Path + +from ee.supplier import seeed + +parser = argparse.ArgumentParser() + +parser.add_argument("--out-dir", + required=True, + metavar="DIR FOR PART DBS") + +args = parser.parse_args() + +cache_dir = ".ee/cache/seeed" + +seeed.download_opls(Path(args.out_dir), Path(cache_dir)) |