GithubHelp home page GithubHelp logo

sswamyn / building-modern-cli-applications-in-go Goto Github PK

View Code? Open in Web Editor NEW

This project forked from packtpublishing/building-modern-cli-applications-in-go

0.0 0.0 0.0 25.47 MB

Building Modern CLI Applications in Go, published by Packt

License: MIT License

Shell 1.03% Go 90.06% PowerShell 1.13% Makefile 1.70% Dockerfile 0.42% Roff 5.66%

building-modern-cli-applications-in-go's Introduction

Building Modern CLI Applications in Go

Building Modern CLI Applications in Go

This is the code repository for Building Modern CLI Applications in Go, published by Packt.

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

What is this book about?

Although graphical user interfaces (GUIs) are intuitive and user-friendly, nothing beats a command-line

This book covers the following exciting features:

  • 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 easily

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter04.

The code will look like the following:

func init() {
    audioCmd.Flags().StringP("filename", "f", "", "audiofile")
    uploadCmd.AddCommand(audioCmd)
}

Following is what you need for this book: This 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.

With the following software and hardware list you can run all code files present in the book (Chapter 1-14).

Software and Hardware List

Chapter Software required OS required
1-14 Go 1.19 Windows, Mac OS X, and Linux (Any)
1-14 Cobra CLI Windows, Mac OS X, and Linux (Any)
1-14 Docker Windows, Mac OS X, and Linux (Any)
1-14 Docker Compose Windows, Mac OS X, and Linux (Any)
1-14 GoReleaser CLI Windows, Mac OS X, and Linux (Any)

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.

Related products

Get to know the Author

Marian Montagnino is a Senior Software Engineer at Netflix with over 20 years of experience. Since the early nineties, when her family first got a home computer, she has been using the terminal and command line applications to navigate through text-based systems. In 1995, she held her first job as a SysOp, or system operator, for Real of Mirage BBS in Fair Lawn, NJ. Her early years discovering technology inspired her to continue learning about computers. She received her Dual Computer Science and Mathematics of Operations Research BSc from Rensselaer Polytechnic Institute and her Applied Mathematics MSc from Stevens Institute of Technology.

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781804611654

building-modern-cli-applications-in-go's People

Contributors

marianina8 avatar packt-itservice avatar packt-pradeeps avatar urvis123 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.