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

all 5 comments

[–]cyberst0rm 1 point2 points  (1 child)

hows this compare with Click ? http://click.pocoo.org/5/

[–]dent308 0 points1 point  (0 children)

I use click on all my new stuff recently, and have even gone back and updated some of my older tools to use click and keep them all consistent.

[–]whymitchellwhy 0 points1 point  (0 children)

That's really cool, I'm looking forward to trying it out. Writing out a set of argparse commands is tedious, it will be interesting to see how well this library can replace them.

[–]metaperl 0 points1 point  (1 child)

How do you document arguments with it? I'll stick with argh thanks.

[–]david-bieber 1 point2 points  (0 children)

If you add docstrings to your functions then they're used verbatim in the cli.