Automated ranking

Best Go CLI Frameworks

Compare go cli frameworks by maintenance, adoption, security, release activity, and Go ecosystem usage. Top packages in this group include urfave/cli, Cobra, go-arg.

Best overall

urfave/cli

Highest combined package health score.

94
Best maintained

urfave/cli

Strongest maintenance signal in this category.

95
Most adopted

urfave/cli

Highest adoption signal from stars, forks, and imported-by data.

100

Ranked Packages

30 packages

#1 urfave/cli

Package cli provides a minimal framework for creating and organizing command line Go applications.

Go CLI Frameworks 24.1K stars 23.1K imported-by 65% confidence
94

#2 Cobra

Package cobra is a commander providing a simple interface to create powerful modern CLI interfaces.

Go CLI Frameworks 44.1K stars 0 imported-by 65% confidence
87

#3 go-arg

Struct-based argument parsing in Go.

Go CLI Frameworks 2.3K stars 1.7K imported-by 65% confidence
87

#4 dasel

Unified querying, transformation, and modification of JSON, TOML, YAML, XML, INI, HCL, KDL and CSV.

Go CLI Frameworks 8.0K stars 0 imported-by 45% confidence
85

#5 kong

Package kong aims to support arbitrarily complex command-line structures with as little developer effort as possible.

Go CLI Frameworks 0 stars 3.1K imported-by 80% confidence
77

#6 mow.cli

Package cli provides a framework to build command line applications in Go with most of the burden of arguments parsing and validation placed on the framework instead of the user.

Go CLI Frameworks 884 stars 895 imported-by 100% confidence
74

#7 gortsplib

Pure Go RTSP server and client library.

Go CLI Frameworks 0 stars 21 imported-by 80% confidence
64

#8 boring

Simple command-line SSH tunnel manager.

Go CLI Frameworks 0 stars 0 imported-by 80% confidence
62

#9 mdv

CLI tool that renders Markdown files in the browser with live reload, GFM, syntax highlighting, Mermaid diagrams, and PDF export.

Go CLI Frameworks 0 stars 0 imported-by 80% confidence
62

#10 v2

Package cli provides a minimal framework for creating and organizing command line Go applications.

Go CLI Frameworks 0 stars 965 imported-by 40% confidence
61

#11 hiboot cli

Package hiboot is a web/cli app application framework

Go CLI Frameworks 0 stars 0 imported-by 80% confidence
59

#12 sttr

cross-platform, cli app to perform various operations on string.

Go CLI Frameworks 0 stars 0 imported-by 80% confidence
58

#13 routex

Package routex is a lightweight multi-agent AI runtime for Go.

Go CLI Frameworks 0 stars 0 imported-by 60% confidence
58

#14 gommon/color

Formats and parses numeric byte values (10K, 2M, 3G, etc.).

Go CLI Frameworks 0 stars 0 imported-by 60% confidence
56

#15 argparse

Package argparse provides users with more flexible and configurable option for command line arguments parsing.

Go CLI Frameworks 639 stars 0 imported-by 80% confidence
55

#16 kingpin

Package kingpin provides command line interfaces like this:

Go CLI Frameworks 0 stars 1.5K imported-by 80% confidence
54

#17 cli

Package cli provides a minimal framework for creating and organizing command line Go applications.

Go CLI Frameworks 0 stars 457 imported-by 75% confidence
52

#18 flash-flags

Ultra-fast, zero-dependency, POSIX-compliant flag parsing library that can be used as drop-in stdlib replacement with security hardening.

Go CLI Frameworks 0 stars 3 imported-by 45% confidence
52

#19 fwdctl

A simple and intuitive CLI to manage IPTables forwards in your Linux server.

Go CLI Frameworks 0 stars 0 imported-by 80% confidence
49

#20 orpheus

CLI framework with security hardening, plugin storage system, and production observability features.

Go CLI Frameworks 0 stars 0 imported-by 45% confidence
48

#21 ofxgo

Package ofxgo seeks to provide a library to make it easier to query and/or parse financial information with OFX from the comfort of Golang, without having to deal with marshalling/unmarshalling the SGML or XML.

Go CLI Frameworks 0 stars 22 imported-by 80% confidence
47

#22 go-flags

Package flags provides an extensive command line option parser.

Go CLI Frameworks 0 stars 0 imported-by 60% confidence
45

#23 ticker

Terminal stock watcher and stock position tracker.

Go CLI Frameworks 0 stars 0 imported-by 80% confidence
44

#24 cli.v1

Package cli provides a minimal framework for creating and organizing command line Go applications.

Go CLI Frameworks 0 stars 0 imported-by 40% confidence
44

#25 fzf

:cherry_blossom: A command-line fuzzy finder

Go CLI Frameworks 0 stars 0 imported-by 25% confidence
44

#26 go-here

Go client library around the HERE location based APIs.

Go CLI Frameworks 0 stars 0 imported-by 25% confidence
44

#27 mani

CLI tool to help you manage multiple repositories.

Go CLI Frameworks 0 stars 0 imported-by 25% confidence
44

#28 simpletable

Simple tables in a terminal with Go.

Go CLI Frameworks 0 stars 0 imported-by 25% confidence
44

#29 go-palette

Go library that provides elegant and convenient style definitions using ANSI colors. Fully compatible & wraps the [fmt library](https://pkg.go.dev/fmt) for nice terminal layouts.

Go CLI Frameworks 0 stars 0 imported-by 80% confidence
41

Comparison Matrix

score dimensions
Package Health Maintenance Adoption Security Imported by
urfave/cli 94 95 100 92 23.1K
Cobra 87 88 100 70 0
go-arg 87 80 100 92 1.7K
dasel 85 95 91 70 0
kong 77 83 66 92 3.1K
mow.cli 74 20 100 92 895
gortsplib 64 75 30 92 21
boring 62 90 7 92 0
mdv 62 90 7 92 0
v2 61 48 51 92 965
hiboot cli 59 75 7 92 0
sttr 58 75 7 92 0
routex 58 83 7 70 0
gommon/color 56 83 7 70 0
argparse 55 8 69 70 0
kingpin 54 15 61 92 1.5K
cli 52 15 45 92 457
flash-flags 52 48 17 92 3
fwdctl 49 45 7 92 0
orpheus 48 48 7 92 0
ofxgo 47 15 30 92 22
go-flags 45 45 7 70 0
ticker 44 27 7 92 0
cli.v1 44 48 5 70 0
fzf 44 48 7 70 0
go-here 44 48 7 70 0
mani 44 48 7 70 0
simpletable 44 48 7 70 0
go-palette 41 15 7 92 0
coinpaprika-api-go-client 39 15 7 92 0

Related Comparisons

Go CLI Frameworks

kong vs mow.cli

Compare health, maintenance, adoption, security, and release signals.

77