Building Modern CLI Applications in Go

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

    Cover of Building Modern CLI Applications in Go

    PDF · English

    Price and availability

    PDF eBookUS store

    $36.99

    Sign in to buy

    You’ll review your order and final price before payment.

    Download from your library after delivery. Protected eBooks need a compatible reading app.

    For personal use under the eBook licence.

    Territorial availability

    Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa

    Publisher rights cover these stores: US, UK, Canada, EU, Australia. Checkout availability is shown above.

    Format
    PDF
    DRM
    Not stated by the publisher
    Language
    English
    Publisher
    Packt Publishing
    Published
    10 March 2023
    Pages
    406
    ISBN
    9781804613696
    Subjects

    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 FeaturesDiscover how Go enables the development of elegant and intuitive CLIsExplore a range of CLI development aspects and pick up a vast array of best practicesCreate 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 learnMaster the Go code structure, testing, and other essentialsAdd a colorful dashboard to your CLI using engaging ASCII bannersUse Cobra, Viper, and other frameworks to give your CLI an edgeHandle inputs, API commands, errors, and timeouts like a proTarget builds for specific platforms the right way using build tagsBuild with empathy, using easy bug submission and tracebackContainerize, 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.

    Bibliographic data © Gardners Books Ltd.