5 Repos
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.
Diese Bibliothek ist ein .NET-Kommandozeilen-Parser für C# und F#, der POSIX-getopt-Konventionen implementiert, um Shell-Argumente in stark typisierte Objekte zu mappen. Sie bietet ein Framework für die Erstellung von Konsolenanwendungen, die Unix-artige Flags und Optionen verarbeiten. Das Projekt verfügt über ein Routing-System, das die Programmausführung basierend auf aktionsorientierten Verben steuert und Sub-Commands sowie Standardaktionen unterstützt. Es enthält einen automatischen Hilfe-Generator, der lokalisierte Nutzungshinweise und formatierte Hilfebildschirme basierend auf den definierten Befehlsoptionen erstellt. Das Toolset deckt das Argument-Parsing mit stark typisiertem Mapping, Eingabevalidierung für sich gegenseitig ausschließende oder erforderliche Optionen sowie die Möglichkeit ab, befüllte Options-Objekte zurück in Kommandozeilen-Strings zu serialisieren.
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.