by ufmace · 8y ago · 0 comments
If I was better at Python, I might try my hand at writing a better Python cli lib myself. I'm surprised nobody else has yet.
https://opensource.com/article/17/5/4-practical-python-libra...
My usual go-to for that kind of stuff is Escort for Ruby. Everything is defined at a place and level that makes sense IMO.
If you mean sub-commands like version control software has, argparse can do it. A bit clunky, but doable.