Golang - Writing CLI App in Golang with Cobra

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • talent.io - Download talent.io’s Tech Salary Report
  • SonarLint - Clean code begins in your IDE with SonarLint
  • Scout APM - Truly a developer’s best friend
  • cobra

    A Commander for modern Go CLI interactions

    Golang has good amount libraries in-build and maintained by community. One of them is Cobra, which is pretty good to write any cli apps. Today will try to see how we can use the library and what all functionality it provides.

  • mitchellh/cli

    A Go library for implementing command-line interfaces. (by mitchellh)

    There are alternatives available for Cobra as well i.e. mitchellh/cli, go-flags, urfave/cli etc.

  • talent.io

    Download talent.io’s Tech Salary Report. Median salaries, most in-demand technologies, state of the remote work... all you need to know your worth on the market by tech recruitment platform talent.io

  • go-flags

    go command line option parser

    There are alternatives available for Cobra as well i.e. mitchellh/cli, go-flags, urfave/cli etc.

  • urfave/cli

    A simple, fast, and fun package for building command line apps in Go (by urfave)

    There are alternatives available for Cobra as well i.e. mitchellh/cli, go-flags, urfave/cli etc.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts