5 repositorios
Mechanisms for defining a specific command to execute when no other provided positional arguments match known commands.
Distinct from CLI Command Frameworks: Focuses on the fallback execution logic rather than the general framework for defining commands.
Explore 5 awesome GitHub repositories matching development tools & productivity · Default Command Fallbacks. Refine with filters or upvote what's useful.
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
Specifies a fallback command that executes when positional arguments do not match any known commands.
Sapling is a scalable version control system designed to handle repositories with millions of files and commits, making it suitable for large monorepos. It reads and writes Git repositories natively, maintaining full interoperability with Git remotes and standard workflows, and provides an interactive commit graph for exploring repository history and state. The system uses a bookmark-based branching model that eliminates named branches in favor of lightweight, movable labels for commits. It tracks how each commit was created, amended, rebased, or split through commit-graph-based mutation trac
Sets a fallback command to run when the tool is invoked without subcommands outside a repository.
Esta biblioteca es un analizador de línea de comandos para .NET en C# y F# que implementa las convenciones POSIX getopt para mapear argumentos de shell en objetos fuertemente tipados. Proporciona un framework para construir aplicaciones de consola que procesan flags y opciones al estilo Unix. El proyecto cuenta con un sistema de enrutamiento que dirige la ejecución del programa basándose en verbos orientados a la acción, admitiendo subcomandos y acciones predeterminadas. Incluye un generador automático de ayuda que produce instrucciones de uso localizadas y pantallas de ayuda formateadas basadas en las opciones de comando definidas. El conjunto de herramientas cubre el análisis de argumentos con mapeo fuertemente tipado, validación de entrada para opciones mutuamente excluyentes o requeridas, y la capacidad de serializar objetos de opciones poblados de nuevo en cadenas de línea de comandos.
Allows a specific command to execute automatically when no explicit verb is provided.
cac is a Node.js CLI framework used to build command line interfaces with a declarative API. It functions as a command line argument parser and a command dispatcher that maps terminal input keywords to specific JavaScript callback functions. The framework features an automated help generator that produces usage instructions and version documentation based on the defined command structures. It manages command aliases and provides a routing system to link specific keyword inputs to execution logic. The toolkit covers command interface definition, including the configuration of global and comma
Executes a designated default action when no registered command matches the user input.
npx is a tool that combines Node version management, on-demand package running, caching installation, remote execution, and shell command fallback into a single interface. It functions as an npm package runner that executes binaries on demand without requiring a global or local install, while also serving as an on-demand package installer that downloads and caches packages automatically before running their commands. The tool distinguishes itself through its ability to install and use specific Node.js versions on the fly for executing commands or scripts, and by replacing the shell's default
Replaces the shell's default handler for missing commands with automatic npm package lookup and execution.