5 repository-uri
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.
Această bibliotecă este un parser de linie de comandă .NET pentru C# și F# care implementează convențiile POSIX getopt pentru a mapa argumentele shell-ului în obiecte puternic tipizate. Oferă un framework pentru construirea de aplicații consolă care procesează flag-uri și opțiuni în stil Unix. Proiectul dispune de un sistem de rutare care direcționează execuția programului pe baza unor verbe orientate pe acțiune, suportând sub-comenzi și acțiuni implicite. Include un generator automat de ajutor care produce instrucțiuni de utilizare localizate și ecrane de ajutor formatate pe baza opțiunilor de comandă definite. Toolkit-ul acoperă parsarea argumentelor cu mapare puternic tipizată, validarea input-ului pentru opțiuni mutual exclusive sau obligatorii și capacitatea de a serializa obiectele de opțiuni populate înapoi în șiruri de linie de comandă.
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.