@esparta sometimes we just add flags ;). I like cli arg libraries, but only when I can pair up different ones that can behave and look similar, from different languages. Consistency is actually what I try for most. My rust written cli app should not look different from my C++ or my golang one. Hence, for Rust I used clap, go-arg for go, and I have my own that matches these in my moderncli for c++.
Conversation
Notices
-
Embed this notice
gnutelephony (gnutelephony@floss.social)'s status on Tuesday, 16-Jan-2024 22:05:45 JST gnutelephony -
Embed this notice
Esparta (esparta@fosstodon.org)'s status on Tuesday, 16-Jan-2024 22:05:46 JST Esparta Command Line Interface Guidelines
A series of guidelines to have, arguable, better command line interface (CLI) programs.
-
Embed this notice