1
0
Fork 0
forked from itec/banana
banana/avocado2dec.py
2020-08-31 18:28:53 +02:00

10 lines
310 B
Python
Executable file

#!/usr/bin/env python3
import argparse
import banana
if __name__ == "__main__":
parser = argparse.ArgumentParser(description="Convert avocado string to dec")
parser.add_argument("avocado", help="String to be converted")
args = parser.parse_args()
print(banana.banana2dec(args.avocado, 1, 0))