How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.
Argparse for golang. Just because flag sucks
The main features of akamensky/argparse are: Command Line Interfaces, Command Line Tools, Console Interfaces, Go CLI Frameworks.
Projects with overlapping indexed features include: spf13/cobra — Cobra is a development framework for building command-line applications in Go. It organizes application logic into a… urfave/cli — This is a framework for building structured terminal applications in Go. It provides the core components necessary to… alexflint/go-arg. jawher/mow.cli — A versatile library for building CLI applications in Go. alecthomas/kingpin — CONTRIBUTIONS ONLY: A Go (golang) command line and flag parser. cosiner/argv — Argv is a library for Go to split command line string into arguments array.
A versatile library for building CLI applications in Go
Cobra is a development framework for building command-line applications in Go. It organizes application logic into a hierarchical tree structure where each node represents a command, complete with its own flags and execution logic. This structure allows developers to build complex, nested command interfaces that mirror business domains while maintaining a clean separation between command orchestration and underlying business logic. The framework distinguishes itself through its declarative approach to metadata and configuration. It automatically derives help documentation, usage instructions,
This is a framework for building structured terminal applications in Go. It provides the core components necessary to define a command-line interface, including a system for managing commands, sub-commands, and their associated flags. The library distinguishes itself through an automated help generator that produces formatted usage instructions and manual pages, and a shell completion generator that creates tab-completion scripts for Bash, Zsh, Fish, and PowerShell. It also features a command lifecycle manager to handle pre- and post-execution logic and process exit codes. The toolkit covers