1
0
Fork 0
forked from itec/banana

polishing

This commit is contained in:
boyska 2020-10-02 11:13:40 +02:00
parent 819388ca45
commit bc42adea73
2 changed files with 3 additions and 2 deletions

View file

@ -17,7 +17,6 @@ def get_codec(args):
kwargs["dictstart"] = args.dictstart
if args.shiftend:
kwargs["shiftend"] = args.shiftend
print(kwargs)
return banana.Codec(**kwargs)
@ -69,7 +68,8 @@ def main():
args = parser.parse_args()
if not hasattr(args, "func"):
print("metti un sottocomando!")
print("You need to select one subcommand. \nUse --help", file=sys.stderr)
# parser.print_help()
sys.exit(1)
args.func(args)

View file

@ -35,6 +35,7 @@ setup(
entry_points={
"console_scripts": [
"banana=banana.cli:main",
"accavallavacca=banana.cli:main",
"ananas2dec=banana.cli:ananas2dec",
"avocado2dec=banana.cli:avocado2dec",
"banana2dec=banana.cli:banana2dec",