5 रिपॉजिटरी
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.
This library is a .NET command line parser for C# and F# that implements POSIX getopt conventions to map shell arguments into strongly typed objects. It provides a framework for building console applications that process Unix-style flags and options. The project features a routing system that directs program execution based on action-oriented verbs, supporting sub-commands and default actions. It includes an automatic help generator that produces localized usage instructions and formatted help screens based on the defined command options. The toolset covers argument parsing with strongly typ
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.