talira

Compare

Cobraurfave/cli
What it isGo library for modern CLI apps with subcommands, POSIX flags and generated completionsA declarative, simple, fast, and fun package for building command line tools in Go
KindOpen sourceOpen source
Trust0.500.74
Stars4482424329
Last commit2026-07-112026-11-10
LicenceApache-2.0MIT
PricingFree and open sourceFree and open source
Free tierYesYes
Self-hostableYes—
Ways to run it——
SOC 2——
HIPAA——
SSO——
API——
Plugins——
MCP server——
CompanySteve Franciaurfave
Features
  • nested subcommands
  • POSIX-compliant global, local and cascading flags
  • suggestions for mistyped commands
  • generated help, man pages and shell completions (bash, zsh, fish, PowerShell)
  • command aliases and pre/post-run hooks
  • Viper integration for 12-factor configuration
  • cobra-cli generator
  • commands and subcommands with aliases
  • generated help
  • shell completion for bash, zsh, fish and PowerShell
  • man and Markdown docs generation
  • typed flags including slices and durations
  • flag values from env vars and files