Table of Contents
Preface
Part 1: Getting Started with a Solid Foundation
1
Understanding CLI Standards
A brief introduction and history of the command line
About the history
Introducing the CLI
The philosophy of CLI development
Checklist for a successful CLI
The guidelines
Name
Help and documentation
Input
Output
Configuration
Security
Open source community
Software lifespan and robustness
Go for CLIs
Summary
Questions
Answers
Further reading
2
Structuring Go Code for CLI Applications
Technical requirements
Commonly used program layouts for robust applications
Program layouts
Common folders
Determining use cases and requirements
Use cases
Requirements
Disadvantages and benefits of use cases and requirements
Use cases, diagrams, and requirements ...
Get Building Modern CLI Applications in Go now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.