Part 3: Interactivity and Empathic Driven Design
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:
- Chapter 8, Building for Humans Versus Machines
- Chapter 9, The Empathic Side of Development
- Chapter 10, Interactivity with Prompts and Terminal Dashboards