30 open-source projects similar to texitoi/structopt, ranked by how many features they have in common. Compare stars, activity and what each one does to find the best Structopt alternative.
Clap is a command-line argument parser for Rust that enables developers to define complex interfaces through strongly-typed data structures. It functions as a comprehensive framework for building terminal applications, automating the transformation of raw string inputs into validated, type-safe code representations while simultaneously generating help documentation and usage statements. The library distinguishes itself by offering both a declarative, attribute-based approach and a fluent builder-pattern API, allowing for flexible interface construction. It includes a sophisticated validation
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
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
oclif is a Node.js framework for building command-line interfaces. It provides a structured system for developing terminal applications with consistent command patterns, argument parsing, and automated help generation. The project features a modular plugin architecture that allows for external functionality to be injected via a manifest-based loading mechanism. It includes a dedicated distribution pipeline and packager to bundle applications into OS-native installers and tarballs for Windows, macOS, and Linux. The framework covers a broad range of development capabilities, including project
Interact with unix processes/bash the same way as pexpect or Don libes expect does
Execution of and interaction with external processes and pipelines
Cross-platform Rust library for coloring and formatting terminal output
a Rust library for running child processes
A console progress bar library for Rust. (inspired by tqdm & rich.progress)
Rust utility library for nice command line prompts and similar things
(Rust) Coloring terminal so simple you already know how to do it !
Termui is a Go terminal user interface library used for building interactive dashboards and visual layouts within a command-line environment. It functions as a TUI layout engine, an interactive CLI framework, and a terminal data visualization toolkit. The library provides a set of specialized widgets for rendering charts, plots, gauges, and tables using character-based graphics. It includes a grid-based system for arranging interface elements using relative coordinates and proportional sizing to create structured displays. The toolkit covers a broad range of capabilities including data visua
Rust derive-based argument parsing optimized for code size
Simple macros to write colored and formatted text to a terminal. Based on termcolor, thus also cross-platform.
Update informer for CLI/GUI applications written in Rust 🦀
A Rust library for building interactive prompts
indicatif is a Rust library for rendering progress bars and loading spinners in command line applications. It provides terminal progress indicators that track task completion percentages and estimated time remaining. The project includes a multi-bar progress manager to coordinate several simultaneous indicators in a single terminal view and a terminal log synchronizer to prevent logging output from overlapping or distorting active bars. It features a spinner component for signaling active background processes when the total completion percentage is unknown. The library supports progress temp
Rust library for ANSI terminal colours and styles (bold, underline)