c/programming · by dukerutledge@programming.dev · 3yCommand Line Interface Guidelines https://clig.dev/44 points · 13 comments · view on lemmy.world
13 Comments
h_a_r_u_k_i@programming.dev · 5 pts · 3y
I've been using this guide for writing a CLI tool for my company. Kudos to the authors for the amazing insights.
nivenkos@lemmy.world · 3 pts · 3y
FWIW a good library will do a lot of this for you - e.g. clap for Rust.
h_a_r_u_k_i@programming.dev · 3 pts · 3y
Yes. I'm using Python Click FYI.
I mean I've been writing a CLI tool, not a CLI engine.
fubo@lemmy.world · 4 pts · 3y
If it supports
-?or--help, we can figure out the rest from the copious & accessible documentation that it will give us then.lorch@sh.itjust.works · 2 pts · 3y
Such refreshing optimism!
fubo@lemmy.world · 3 pts · 3y
In other optimism, if I can
apt-get installit, it has a manpage written by someone who's at least as entertaining a writer as Larry Wall.lorch@sh.itjust.works · 2 pts · 3y
Ok now this is venturing past Optimism into Fantasy... Is there a command line genre of fantasy?
sisyphean@programming.dev · 3 pts · 3y
This looks like a fantastic resource, thank you for sharing it! Saved.
cosmicrose@lemmy.world · 2 pts · 3y
This is awesome, I was looking for something like this very recently!