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.
هذه المكتبة عبارة عن محلل سطر أوامر .NET للغتي C# و F# يطبق اتفاقيات POSIX getopt لتعيين وسائط الصدفة (Shell) إلى كائنات ذات أنواع قوية. توفر إطار عمل لبناء تطبيقات وحدة التحكم التي تعالج الأعلام والخيارات بنمط Unix. يتميز المشروع بنظام توجيه يوجه تنفيذ البرنامج بناءً على الأفعال الموجهة، ويدعم الأوامر الفرعية والإجراءات الافتراضية. ويتضمن مولد تعليمات مساعدة تلقائي ينتج تعليمات استخدام مترجمة وشاشات مساعدة منسقة بناءً على خيارات الأوامر المحددة. تغطي مجموعة الأدوات تحليل الوسائط مع تعيين الأنواع القوية، والتحقق من صحة الإدخال للخيارات الحصرية أو المطلوبة، والقدرة على تسلسل كائنات الخيارات المعبأة مرة أخرى إلى سلاسل سطر الأوامر.
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.