11 lines
310 B
Python
11 lines
310 B
Python
|
#!/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))
|