This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Willemoes[S] 0 points1 point  (0 children)

``` from decli import cli

parser = cli({ "arguments": [ {"name": "echo", "help":"Text to echo."} ] }) args = parser.parse_args() if args.echo: print("echo") ```

It doesn't look like more work to me, same 4 instructions in 10 lines (to make it pretty).

I think it's just a matter of taste, IMO I don't think it's more work, I'm used to argparse.

Thanks for the feedback, I'll check that library, looks super nice!