diff options
Diffstat (limited to 'src/ee/tools/digikey_normalize_facts.py')
-rw-r--r-- | src/ee/tools/digikey_normalize_facts.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/ee/tools/digikey_normalize_facts.py b/src/ee/tools/digikey_normalize_facts.py new file mode 100644 index 0000000..07cc0d7 --- /dev/null +++ b/src/ee/tools/digikey_normalize_facts.py @@ -0,0 +1,19 @@ +import argparse +from pathlib import Path + +from ee.digikey.normalize_facts import normalize_facts + +parser = argparse.ArgumentParser() + +parser.add_argument("--in", + dest="in_", + required=True, + metavar="FILE") + +parser.add_argument("--out", + required=True, + metavar="FILE") + +args = parser.parse_args() + +normalize_facts(Path(args.in_), Path(args.out)) |