CLI Guidelines – A guide to help you write better command-line programs (clig.dev)
recommended by 1 user | 2020 | 564 points by bfirsh | command line | original thread |
One user recommended this thread. What they said:
auno Nov 26, 2021 | on: Bash patterns I use weekly | context

What you're getting at seems to be more about CLI conventions as opposed to script conventions specifically. As such, you might want to have a look at https://clig.dev/ which is a really comprehensive document describing CLI guidelines. I can't say I've read the whole thing yet, but everything I _have_ read very much made sense.

It's been discussed here on HN before.

https://news.ycombinator.com/item?id=25304257