yargs is a command-line interface framework and argument parser for Node.js. It translates raw command-line strings into structured JavaScript objects, providing a toolkit for building terminal applications with nested sub-commands, dedicated handlers, and a structured user interface. The framework distinguishes itself through automated help text generation, which constructs formatted usage menus and instructions based on registered metadata. It also provides shell completion generation for Bash and Zsh and uses string-distance algorithms to offer typo correction suggestions when invalid inpu
spectre.console is a .NET console UI library and command-line interface framework used to build rich user interfaces for console applications. It functions as a console text markup processor and terminal layout engine to provide advanced text styling and structured data organization. The library enables the creation of visually organized interfaces using a system of tables, grids, and panels. It utilizes a dedicated markup language to apply colors and styles to terminal output, allowing for the rendering of formatted text and complex visual structures.
Kong is a declarative command line interface framework and parser for Go. It maps flags and positional arguments directly into typed Go structures using struct tags, allowing developers to define terminal interfaces through data models rather than manual parsing logic. The project functions as a configuration mapper that populates Go structures from a combination of command-line arguments, environment variables, and JSON files. It distinguishes itself by providing a dependency injection container to pass external services into command handlers and a plugin architecture for dynamic command reg
Click is a Python framework for building command-line interfaces. It provides a declarative approach to defining command structures, allowing developers to map functions to command-line arguments, options, and nested groups using decorators. The framework handles the complexities of parameter parsing, type validation, and help documentation generation automatically. The project distinguishes itself through its hierarchical context system, which propagates configuration and state across nested commands, and its environment-aware parameter resolution that prioritizes command-line inputs, enviro
This project is a set of design guidelines and a usability framework for building modern command-line interfaces based on updated Unix principles. It serves as a technical reference and manual for creating composable terminal applications that prioritize modularity and text-based communication.
The main features of cli-guidelines/cli-guidelines are: Command Line Interface Design, CLI, CLI and Argument Parsing, Argument Parsing, CLI Tooling Standards, Modular Subcommand Integrators, Command Line Interface Frameworks, Subcommand Structuring.
Open-source alternatives to cli-guidelines/cli-guidelines include: spectresystems/spectre.console — spectre.console is a .NET console UI library and command-line interface framework used to build rich user interfaces… yargs/yargs — yargs is a command-line interface framework and argument parser for Node.js. It translates raw command-line strings… alecthomas/kong — Kong is a declarative command line interface framework and parser for Go. It maps flags and positional arguments… pallets/click — Click is a Python framework for building command-line interfaces. It provides a declarative approach to defining… fastapi/typer — This project is a Python framework for building command-line interfaces by converting standard functions into… pterm/pterm — pterm is a Go terminal UI library used to build rich command-line interfaces. It provides toolsets for terminal data…