3 ms·
Nice writeup. Since she mentioned how hard it is to learn these conventions, I'll plug my preferred reference when thinking about CLIs specifically (rather than
by bobbiechen 2y ago
Nice writeup. Since she mentioned how hard it is to learn these conventions, I'll plug my preferred reference when thinking about CLIs specifically (rather than TUIs and REPLs) - the Command Line Interface Guidelines https://clig.dev https://clig.dev
It does include the blog post's rules on exiting on Ctrl-C, accepting `-` for stdin, disabling color in pipes, and much more.
- deleted 2y ago[deleted]
- thiisguy 2y agoThis is referenced at the very beginning, just after the table of contents.
- bobbiechen 2y agoOops, I missed it when I was reading, and assumed it wasn't referenced. Thanks!
- mcint 2y agoI would also recommend, call to attention, the Further Reading from CLIG, https://clig.dev/#further-reading https://clig.dev/#further-reading. POSIX, GNU, Unix resources, Heroku CLI guide, and 12-factor CLI app guide.
- snthpy 2y agoThanks. Didn't know about that one. There is also: https://usage.jdx.dev/ https://usage.jdx.dev/