cobra

spf13/cobra

Commander for modern Go CLI interactions.

  • cobra
  • cobra-library
  • cobra-generator
  • posix-compliant-flags
  • command-cobra
  • cli-app
  • command-line
  • commandline

More in Standard CLI

urfave/cliby urfave

Simple, fast, and fun package for building command line apps in Go (formerly codegangsta/cli).

github.com/urfave/cli/v3Go 1.26+ 1 dependencyv3.14.0updated today

24.3k

elvishby elves

An expressive programming language and a versatile interactive shell.

src.elv.shGo 1.22+ 8 dependenciesv0.21.0updated 7mo ago

6.4k

kingpinby alecthomas

Command line and flag parser supporting sub commands (superseded by kong; see below).

github.com/alecthomas/kingpin/v2Go 1.17+ 3 dependenciesv2.4.0updated 13d ago

3.6k

Dnote

A simple command line notebook with multi-device sync.

github.com/dnote/dnoteGo 1.25+ 19 dependenciescli-v0.17.0updated 16d ago

3.1k

pflagby spf13

Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.

github.com/spf13/pflagGo 1.12+ No dependencies v1.0.10updated 4d ago

2.8k

go-flagsby jessevdk

Go command line option parser.

github.com/jessevdk/go-flagsGo 1.24+ 2 dependenciesv1.6.1updated 23d ago

2.7k

go-argby alexflint

Struct-based argument parsing in Go.

github.com/alexflint/go-argGo 1.18+ 2 dependenciesv1.6.1updated 15d ago

2.3k

carapace-binby rsteube

Multi-shell multi-command argument completer.

github.com/carapace-sh/carapace-binGo 1.26+ 17 dependenciesv1.8.2updated today

2k
All 58 in Standard CLI
Esc

Type to search every entry. ↑↓ to move, Enter to open.