4 ms·
Yep, this is my first time seeing Click and it looks very similar to argh. Personally I'll probably stick to argh, but good to see some competition in the spac
by ekimekim 7y ago
Yep, this is my first time seeing Click and it looks very similar to argh.
Personally I'll probably stick to argh, but good to see some competition in the space.
One nice thing about argh is that it's mostly just a fancy wrapper around argparse. So you have the full functionality of argparse if you need it, while still getting the lack of boilerplate and nice defaults of argh.
It also means it works with other third party things on top of argparse like argcomplete for tab completion.
Does anyone know if Click is similar, or if it implements its own parser?
EDIT: Answered my own question. Looks like it uses optparse internally. So yeah, should see similar benefits.