8 مستودعات
Functions executed during command invocation to handle setup logic or shared behavior.
Distinct from CLI Command Frameworks: Distinct from CLI Command Frameworks: focuses specifically on the callback execution mechanism rather than the framework structure.
Explore 8 awesome GitHub repositories matching development tools & productivity · Command Callbacks. Refine with filters or upvote what's useful.
This project is a Python framework for building command-line interfaces by converting standard functions into executable programs. It uses type hints to automatically infer and generate argument parsers, validation logic, and help documentation, allowing developers to define complex terminal applications through simple function signatures. The framework distinguishes itself through a decorator-driven registration system that enables the construction of hierarchical command trees. It supports dependency injection to manage shared state and runtime configuration across subcommands, and it utili
Executes setup logic or shared behavior automatically whenever a command or subcommand group is invoked.
Click is a Python framework for building command-line interfaces. It provides a declarative approach to defining command structures, allowing developers to map functions to command-line arguments, options, and nested groups using decorators. The framework handles the complexities of parameter parsing, type validation, and help documentation generation automatically. The project distinguishes itself through its hierarchical context system, which propagates configuration and state across nested commands, and its environment-aware parameter resolution that prioritizes command-line inputs, enviro
Triggers custom logic after command line arguments are parsed and converted to ensure callbacks receive processed values.
dirsearch is a command-line security tool and web path scanner used for discovering hidden directories and files on web servers. It functions as a recursive directory fuzzer and brute-force utility that identifies undocumented paths and sensitive files using wordlists and HTTP status codes. The tool distinguishes itself through template-driven path generation and an automated HTTP response filter that uses status codes, content length, and regex patterns to isolate valid targets. It supports recursive directory crawling to map complex web structures and provides state-persistence serializatio
Executes real-time processing functions via callbacks for every server response during an active discovery session.
This project is a Neovim file navigation plugin and workspace manager that allows users to mark and jump between frequent files. It functions as a system for organizing high-priority files into specific layouts and window splits, utilizing a persistent list and index-based shortcuts to streamline movement across a project. The tool includes a terminal session integrator that bridges the editor with a terminal multiplexer. This integration enables the orchestration of windows and panes, allowing users to switch between development shells and coding sessions or manage terminal instances by inde
Provides user-defined functions to transform list items into executable commands or identifiers.
collect.js is a dependency-free JavaScript library that provides a fluent, chainable interface for manipulating arrays and objects. It mirrors the Laravel Collection API, offering a consistent set of methods for data transformation across JavaScript and Laravel backend environments. The library stores collection data as plain arrays internally and supports fluent method chaining, where each method returns a new collection instance. The library distinguishes itself by closely replicating the Laravel Collection API in JavaScript, mapping each PHP method to an equivalent JavaScript implementatio
Provides a pipe method that passes the entire collection to a callback and returns the result.
CLI11 هي مكتبة C++ تعتمد على ملفات الرأس فقط (header-only) لتحليل وسائط سطر الأوامر وإدارة ملفات التكوين. تقوم بربط مدخلات الصدفة (shell) بمتغيرات ذات أنواع محددة وتدعم إنشاء تسلسلات هرمية معقدة للأوامر. تتميز المكتبة بدعمها للأوامر الفرعية المتداخلة بعمق غير محدود ومطابقة البادئات. تدمج إدارة التكوين من خلال السماح بتحميل إعدادات التطبيق من ملفات TOML أو INI، مع القدرة على الرجوع إلى متغيرات البيئة. يوفر المشروع مجموعة شاملة من الأدوات لتحليل الوسائط، بما في ذلك الأعلام (flags) والوسائط الموضعية، إلى جانب إطار عمل للتحقق لفرض الخيارات الإلزامية والاعتمادات المتبادلة. كما يتضمن توليداً تلقائياً لوثائق المساعدة مع تنسيق قابل للتخصيص ونظام رد نداء (callback) لتشغيل منطق مخصص خلال مراحل تحليل معينة. هذه المكتبة خالية من الاعتمادات ومصممة لـ C++11 والإصدارات الأحدث.
Provides callbacks that run at specific stages of the parsing process to perform setup or teardown actions.
هذا المشروع هو إطار عمل لكشط الويب (web scraping) مبني على Node.js مصمم لأتمتة استخراج البيانات من خلال سير عمل برمجي للطلبات، والتحليل، وتفاعل المستندات. يعمل كزاحف ويب بدون رأس (headless)، ومدير طلبات HTTP، ومحلل ومستخرج DOM. يتميز إطار العمل بدمج محرك تنفيذ JavaScript للتفاعل مع المحتوى الديناميكي ونظام اختيار هجين يستخدم كلاً من محددات CSS وXPath. يتضمن برمجيات وسيطة (middleware) متخصصة لتدوير الوكيل (proxy rotation) وإدارة جلسة ملفات تعريف الارتباط للحفاظ على الحالات المصادق عليها وإدارة حركة المرور المؤتمتة. تغطي قدراته الأوسع زحف الروابط المتكرر، ومعالجة الترقيم، وأتمتة نماذج الويب. توفر الأداة أيضاً ميزات إدارة حركة المرور مثل تحديد معدل الطلبات من خلال تأخيرات زمنية وتكوين رؤوس HTTP مخصصة.
Uses a callback execution mechanism to handle a sequence of predefined scraping actions.
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
Links specific keyword inputs to JavaScript callback functions that execute business logic.