Argparse for golang. Just because flag sucks
Las características principales de akamensky/argparse son: Interfaces de línea de comandos, Command Line Tools, Console Interfaces, Go CLI Frameworks.
Las alternativas de código abierto para akamensky/argparse incluyen: 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