3 ms·
if you get lost using argparse, give docopt a try, it's self documenting.
by fragmede 2y ago
if you get lost using argparse, give docopt a try, it's self documenting.
- Doxin 2y agoClick is a nice option too. Slightly less magic than docopt, though docopt is great for quick hacks.
- philomath_mn 2y agoI've been making zero-cost Python CLIs with this for years: https://github.com/google/python-fire https://github.com/google/python-fire