forked from itec/banana
10 lines
310 B
Python
Executable file
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))
|