Heroku has released their cli framework recently. It’s really good.
Re:How I Automated My Job
by mixmastamyk on Saturday June 09, 2018 @02:55PM
(#17274441)
Not sure what you are referring to, Py CLI libs are a dime a dozen? Not to mention argparse has been getting better.
https://opensource.com/article/17/5/4-practical-python-libra...
I'm interested in finding a Python CLI lib for building command suite apps. I've written a few with Click, and its architecture seems weird and clumsy to me. I looked at that website, and it doesn't list any command suite libs other than Click. There's a few other CLI-related libs, but for doing stuff like making prompts work nicely.
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.
Re:How I Automated My Job
by mixmastamyk on Monday June 11, 2018 @12:03PM
(#17285408)
Searched for "command suite" got nothing. Searched for "ruby escort," found services in las vegas. ;)
If you mean sub-commands like version control software has, argparse can do it. A bit clunky, but doable.
Re:How I Automated My Job
by mattschmulen on Friday June 08, 2018 @10:19PM
(#17271155)
I have had some nice results with swift. It’s still predominately Apple tech (macOS,iOS) but the packages manager is nice and it’s has nice “script” feel for a compiled language.
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.