Chapter 10Add Color, Formatting, and Interactivity
We could end this book right here, and you’d be fully capable of making awesome command-line applications. The conventions, techniques, and rules we’ve discussed are always safe to use and will never steer you wrong. But, this is not the end of what we can learn. If you followed along during Chapter 8, Test, Test, Test, you saw that Cucumber produced colorful output. If you’ve ever used a SQL client, you’ve seen that it both formats output in tables and provides an interactive prompt, complete with history and tab completion.
In general, your apps should not provide any of these things; avoiding color, formatted output, and user interaction make our apps interoperable with other systems ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access