Building Modern CLI Applications in Go
eBook - ePub

Building Modern CLI Applications in Go

Develop next-level CLIs to improve user experience, increase platform usage, and maximize production

  1. 406 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Building Modern CLI Applications in Go

Develop next-level CLIs to improve user experience, increase platform usage, and maximize production

About this book

Evolve the humble CLI using Go and unleash the next generation of powerful, flexible, and empathy-driven interfacesPurchase of the print or Kindle book includes a free PDF eBookKey Features• Discover how Go enables the development of elegant and intuitive CLIs• Explore a range of CLI development aspects and pick up a vast array of best practices• Create engaging and user-friendly interfaces and learn how to distribute themBook DescriptionAlthough 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.What you will learn• Master the Go code structure, testing, and other essentials• Add a colorful dashboard to your CLI using engaging ASCII banners• Use Cobra, Viper, and other frameworks to give your CLI an edge• Handle inputs, API commands, errors, and timeouts like a pro• Target builds for specific platforms the right way using build tags• Build with empathy, using easy bug submission and traceback• Containerize, distribute, and publish your CLIs quickly and easilyWho this book is forThis book is for beginner- and intermediate-level Golang developers who take an interest in developing CLIs and enjoy learning by doing. You'll need an understanding of basic Golang programming concepts, but will require no prior knowledge of CLI design and development. This book helps you join a community of CLI developers and distribute within the popular Homebrew package management tool.

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Building Modern CLI Applications in Go by Marian Montagnino,William Kennedy in PDF and/or ePUB format, as well as other popular books in Informatica & Applicazioni desktop. We have over one million books available in our catalogue for you to explore.

Information

Table of contents

  1. Building Modern CLI Applications in Go
  2. Foreword
  3. Preface
  4. Part 1: Getting Started with a Solid Foundation
  5. 1
  6. 2
  7. 3
  8. 4
  9. Part 2: The Ins and Outs of a CLI
  10. 5
  11. 6
  12. 7
  13. Part 3: Interactivity and Empathic Driven Design
  14. 8
  15. 9
  16. 10
  17. Part 4: Building and Distributing for Different Platforms
  18. 11
  19. 12
  20. 13
  21. 14
  22. Index
  23. Other Books You May Enjoy