March 2023
Intermediate to advanced
406 pages
8h 37m
English
This part is about how to develop a more user-friendly command-line interface (CLI) by considering the end user’s perspective. It covers topics such as building for humans versus machines, using ASCII art to improve information density, and ensuring consistency in flag names and arguments. The section also emphasizes the importance of empathy in CLI development, including rewriting errors in a user-friendly way, providing detailed logging, and creating man pages and usage examples. Additionally, the benefits of interactivity through prompts and terminal dashboards are discussed, with examples of how to build user prompts and dashboards using the Termdash library.
This part has the following chapters: ...
Read now
Unlock full access