I’ve been using this guide for writing a CLI tool for my company. Kudos to the authors for the amazing insights.
FWIW a good library will do a lot of this for you - e.g. clap for Rust.
Yes. I’m using Python Click FYI.
I mean I’ve been writing a CLI tool, not a CLI engine.
If it supports
-?
or--help
, we can figure out the rest from the copious & accessible documentation that it will give us then.Such refreshing optimism!
In other optimism, if I can
apt-get install
it, it has a manpage written by someone who’s at least as entertaining a writer as Larry Wall.Ok now this is venturing past Optimism into Fantasy… Is there a command line genre of fantasy?
This looks like a fantastic resource, thank you for sharing it! Saved.
This is awesome, I was looking for something like this very recently!