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 fzf, urfave/cli, Cobra.

Best overall

fzf

Highest combined package health score.

94
Best maintained

fzf

Strongest maintenance signal in this category.

95
Most adopted

fzf

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

100

Ranked Packages

26 packages

#1 fzf

:cherry_blossom: A command-line fuzzy finder

Go CLI Frameworks 80.6K stars 0 imported-by 100% confidence
94

#2 urfave/cli

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

Go CLI Frameworks 24.1K stars 0 imported-by 80% confidence
91

#3 Cobra

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

Go CLI Frameworks 44.0K stars 0 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 gommon/color

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

Go CLI Frameworks 586 stars 1 imported-by 100% confidence
84

#6 hiboot cli

Package hiboot is a web/cli app application framework

Go CLI Frameworks 179 stars 0 imported-by 100% confidence
83

#8 go-arg

Package arg parses command line arguments using the fields from a struct.

Go CLI Frameworks 0 stars 1.7K imported-by 80% confidence
70

#9 go-flags

Package flags provides an extensive command line option parser.

Go CLI Frameworks 0 stars 14.1K imported-by 80% confidence
69

#10 flash-flags

Package flashflags provides ultra-fast, zero-dependency, lock-free command-line flag parsing for Go.

Go CLI Frameworks 0 stars 3 imported-by 80% confidence
67

#11 gortsplib

Pure Go RTSP server and client library.

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

#12 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 45% confidence
64

#13 orpheus

Package orpheus provides an ultra-fast, professional-grade CLI framework built on flash-flags with comprehensive security validation and Red Team tested security controls.

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

#14 boring

Simple command-line SSH tunnel manager.

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

#15 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 0 imported-by 80% confidence
60

#16 routex

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

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

#17 kingpin

Package kingpin provides command line interfaces like this:

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

#18 v2

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

Go CLI Frameworks 0 stars 965 imported-by 75% confidence
53

#19 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

#20 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

#21 mani

CLI tool to help you manage multiple repositories.

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

#22 ticker

Terminal stock watcher and stock position tracker.

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

#23 argparse

Command line argument parser inspired by Python's argparse module.

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

#24 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

#25 go-here

Go client library around the HERE location based APIs.

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

#26 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 0 imported-by 60% confidence
35

Comparison Matrix

score dimensions
Package Health Maintenance Adoption Security Imported by
fzf 94 95 100 92 0
urfave/cli 91 95 100 70 0
Cobra 87 88 100 70 0
dasel 85 95 91 70 0
gommon/color 84 88 75 92 1
hiboot cli 83 95 57 92 0
coinpaprika-api-go-client 76 95 41 92 0
go-arg 70 63 62 92 1.7K
go-flags 69 45 78 92 14.1K
flash-flags 67 90 17 92 3
gortsplib 64 75 30 92 21
kong 64 48 66 92 3.1K
orpheus 63 90 7 92 0
boring 62 90 7 92 0
mow.cli 60 20 71 70 0
routex 57 83 7 70 0
kingpin 54 15 61 92 1.5K
v2 53 15 51 92 965
cli 52 15 45 92 457
fwdctl 49 45 7 92 0
mani 48 48 7 92 0
ticker 44 27 7 92 0
argparse 44 48 7 70 0
go-palette 41 15 7 92 0
go-here 38 15 7 92 0
ofxgo 35 15 7 70 0

Related Comparisons

Go CLI Frameworks

go-flags vs go-arg

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

70

go-flags vs kingpin

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

69

gommon/color vs go-flags

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

84

go-arg vs kingpin

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

70

gommon/color vs go-arg

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

84