Szczegóły ebooka

Building Modern CLI Applications in Go. Develop next-level CLIs to improve user experience, increase platform usage, and maximize production

Building Modern CLI Applications in Go. Develop next-level CLIs to improve user experience, increase platform usage, and maximize production

Marian Montagnino, William Kennedy

Ebook
Although graphical user interfaces (GUIs) are intuitive and user-friendly, nothing beats a command-line interface (CLI) when it comes to productivity. Many organizations settle for a GUI without searching for alternatives that offer better accessibility and functionality. If this describes your organization, then pick up this book and get them to rethink that decision.

Building Modern CLI Applications in Go will help you achieve an interface that rivals a GUI in elegance yet surpasses it in high-performance execution. Through its practical, step-by-step approach, you’ll learn everything you need to harness the power and simplicity of the Go language to build CLI applications that revolutionize the way you work.

After a primer on CLI standards and Go, you’ll be launched into tool design and proper framework use for true development proficiency. The book then moves on to all things CLI, helping you master everything from arguments and flags to errors and API calls. Later, you’ll dive into the nuances of empathic development so that you can ensure the best UX possible, before you finish up with build tags, cross-compilation, and container-based distribution.

By the end of this UX book, you’ll be fully equipped to take the performance and flexibility of your organization’s applications to the next level.
  • 1. Understanding CLI Standards
  • 2. Structuring Go Code for CLI Applications
  • 3. Design your tool and its purpose
  • 4. Popular frameworks in Go to speed up and enhance CLI development
  • 5. Processing Different Types of Input via Arguments and Flags
  • 6. Calling External Processes and API commands and Handle Timeouts, and Error Handling
  • 7. Developing for Different Platforms
  • 8. Being Clear, Concise and Consistent with CLIs
  • 9. Empathic Side of Development
  • 10. Interactivity with Prompts and Terminal Dashboards
  • 11. Customizing Go Binaries with Build Tags
  • 12. Cross Compilation Across Different Platforms
  • 13. Using Containers for Distribution
  • 14. Publish your Go binary as a Homebrew Formula with GoReleaser
  • Tytuł: Building Modern CLI Applications in Go. Develop next-level CLIs to improve user experience, increase platform usage, and maximize production
  • Autor: Marian Montagnino, William Kennedy
  • Tytuł oryginału: Building Modern CLI Applications in Go. Develop next-level CLIs to improve user experience, increase platform usage, and maximize production
  • ISBN: 9781804613696, 9781804613696
  • Data wydania: 2023-03-10
  • Format: Ebook
  • Identyfikator pozycji: e_39y8
  • Wydawca: Packt Publishing