forked from itec/banana
polishing
This commit is contained in:
parent
819388ca45
commit
bc42adea73
2 changed files with 3 additions and 2 deletions
|
@ -17,7 +17,6 @@ def get_codec(args):
|
||||||
kwargs["dictstart"] = args.dictstart
|
kwargs["dictstart"] = args.dictstart
|
||||||
if args.shiftend:
|
if args.shiftend:
|
||||||
kwargs["shiftend"] = args.shiftend
|
kwargs["shiftend"] = args.shiftend
|
||||||
print(kwargs)
|
|
||||||
return banana.Codec(**kwargs)
|
return banana.Codec(**kwargs)
|
||||||
|
|
||||||
|
|
||||||
|
@ -69,7 +68,8 @@ def main():
|
||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
if not hasattr(args, "func"):
|
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)
|
sys.exit(1)
|
||||||
args.func(args)
|
args.func(args)
|
||||||
|
|
||||||
|
|
1
setup.py
1
setup.py
|
@ -35,6 +35,7 @@ setup(
|
||||||
entry_points={
|
entry_points={
|
||||||
"console_scripts": [
|
"console_scripts": [
|
||||||
"banana=banana.cli:main",
|
"banana=banana.cli:main",
|
||||||
|
"accavallavacca=banana.cli:main",
|
||||||
"ananas2dec=banana.cli:ananas2dec",
|
"ananas2dec=banana.cli:ananas2dec",
|
||||||
"avocado2dec=banana.cli:avocado2dec",
|
"avocado2dec=banana.cli:avocado2dec",
|
||||||
"banana2dec=banana.cli:banana2dec",
|
"banana2dec=banana.cli:banana2dec",
|
||||||
|
|
Loading…
Reference in a new issue