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,
Argparse for golang. Just because flag sucks
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
Die Hauptfunktionen von alexflint/go-arg sind: Kommandozeilenschnittstellen, Command Line Tools, Console Interfaces, Go CLI Frameworks.
Open-Source-Alternativen zu alexflint/go-arg sind unter anderem: urfave/cli — This is a framework for building structured terminal applications in Go. It provides the core components necessary to… akamensky/argparse — Argparse for golang. Just because `flag` sucks. jawher/mow.cli — A versatile library for building CLI applications in Go. spf13/cobra — Cobra is a development framework for building command-line applications in Go. It organizes application logic into a… cosiner/argv — Argv is a library for Go to split command line string into arguments array. antham/strumt — Strumt is a library to create prompt chain.