talira

Compare

urfave/cliCobra
What it isA declarative, simple, fast, and fun package for building command line tools in GoGo library for modern CLI apps with subcommands, POSIX flags and generated completions
KindOpen sourceOpen source
Trust0.740.50
Stars2432944824
Last commit2026-11-102026-07-11
LicenceMITApache-2.0
PricingFree and open sourceFree and open source
Free tierYesYes
Self-hostable—Yes
Ways to run it——
SOC 2——
HIPAA——
SSO——
API——
Plugins——
MCP server——
CompanyurfaveSteve Francia
Features
  • 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
  • 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