Initial commit

This commit is contained in:
polyfloyd 2024-01-05 16:18:09 +01:00
commit 3511dd75ac
5 changed files with 106 additions and 0 deletions

16
inflatinator/__main__.py Normal file
View file

@ -0,0 +1,16 @@
import revbank
import sys
def main(product_file):
with open(product_file, 'r') as fd:
src = fd.read()
new_src = revbank.update_product_pricings(src)
with open(product_file, 'w') as fd:
fd.write(new_src)
if __name__ == '__main__':
main(sys.argv[1])