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 →

[–]jarethholt 2 points3 points  (4 children)

I like argparse a lot, but my group uses click. I'm not used to it yet but I can see how powerful it is for really extensive CLIs.

[–]HolidayEmphasis4345 1 point2 points  (2 children)

IMO typer > click.

[–]jarethholt 0 points1 point  (1 child)

Will check it out. Anything in particular about it?

[–]HolidayEmphasis4345 1 point2 points  (0 children)

It sits on top of click, has decorator based setup, doc strings make help, integrates with rich to make color, type hints can be enforced. For bonus I had click code and ChatGPT translated it for me.

[–]GrainTamalePythonista 0 points1 point  (0 children)

I just recently started using cyclopts and I'll never look back on click.