How to build useful, empathic and robust CLI tools (#note)

I love well-crafted CLI tooling. Multiple colors, space formatting, creative spinners, some emojis… I’m all in for these things. And while I enjoy these tiny details, there is so much more to consider when building a CLI interface…


This content originally appeared on Stefan Judis Web Development and was authored by Stefan Judis

I love well-crafted CLI tooling. Multiple colors, space formatting, creative spinners, some emojis... I'm all in for these things. And while I enjoy these tiny details, there is so much more to consider when building a CLI interface.

  • When should you use stdout or stderr?
  • Which standard CLI parameters should you use?
  • How do you write an excellent help dialog?

The Command Line Interface Guidelines answer the above and many other questions. They are a beautiful guide on commonly used CLI best practices that's worth bookmarking.

Title screenshot: Command Line Interface guidelines

So, if you're building a CLI tool, check the included recommendations! I promise they will make your tool more useable and more delightful to use!


Reply to Stefan


This content originally appeared on Stefan Judis Web Development and was authored by Stefan Judis


Print Share Comment Cite Upload Translate Updates
APA

Stefan Judis | Sciencx (2020-12-19T23:00:00+00:00) How to build useful, empathic and robust CLI tools (#note). Retrieved from https://www.scien.cx/2020/12/19/how-to-build-useful-empathic-and-robust-cli-tools-note/

MLA
" » How to build useful, empathic and robust CLI tools (#note)." Stefan Judis | Sciencx - Saturday December 19, 2020, https://www.scien.cx/2020/12/19/how-to-build-useful-empathic-and-robust-cli-tools-note/
HARVARD
Stefan Judis | Sciencx Saturday December 19, 2020 » How to build useful, empathic and robust CLI tools (#note)., viewed ,<https://www.scien.cx/2020/12/19/how-to-build-useful-empathic-and-robust-cli-tools-note/>
VANCOUVER
Stefan Judis | Sciencx - » How to build useful, empathic and robust CLI tools (#note). [Internet]. [Accessed ]. Available from: https://www.scien.cx/2020/12/19/how-to-build-useful-empathic-and-robust-cli-tools-note/
CHICAGO
" » How to build useful, empathic and robust CLI tools (#note)." Stefan Judis | Sciencx - Accessed . https://www.scien.cx/2020/12/19/how-to-build-useful-empathic-and-robust-cli-tools-note/
IEEE
" » How to build useful, empathic and robust CLI tools (#note)." Stefan Judis | Sciencx [Online]. Available: https://www.scien.cx/2020/12/19/how-to-build-useful-empathic-and-robust-cli-tools-note/. [Accessed: ]
rf:citation
» How to build useful, empathic and robust CLI tools (#note) | Stefan Judis | Sciencx | https://www.scien.cx/2020/12/19/how-to-build-useful-empathic-and-robust-cli-tools-note/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.