Move to pdm as build env
This commit is contained in:
22
src/ergogen_footprint_converter/main.py
Normal file
22
src/ergogen_footprint_converter/main.py
Normal file
@@ -0,0 +1,22 @@
|
||||
#!/bin/python
|
||||
|
||||
from argparse import ArgumentParser
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
def main (args):
|
||||
None
|
||||
|
||||
def parse_args():
|
||||
parser = ArgumentParser()
|
||||
parser.add_argument("in", type=Path)
|
||||
parser.add_argument("--out", type=Path, required=False, default=Path('.'))
|
||||
|
||||
return parser.parse_args()
|
||||
|
||||
def run ():
|
||||
args = parse_args()
|
||||
main(args)
|
||||
|
||||
if __name__ == "__main__":
|
||||
run()
|
||||
Reference in New Issue
Block a user