8 dépôts
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 est une bibliothèque C++ header-only pour l'analyse d'arguments en ligne de commande et la gestion de fichiers de configuration. Elle mappe les entrées du shell vers des variables typées et prend en charge la création de hiérarchies de commandes complexes. La bibliothèque se distingue par sa prise en charge des sous-commandes imbriquées avec une profondeur infinie et la correspondance de préfixes. Elle intègre la gestion de la configuration en permettant aux paramètres de l'application d'être chargés depuis des fichiers TOML ou INI, avec la possibilité de revenir aux variables d'environnement. Le projet fournit un ensemble complet d'outils pour l'analyse d'arguments, incluant des flags et des arguments positionnels, ainsi qu'un framework de validation pour imposer des options obligatoires et des dépendances mutuelles. Il inclut également la génération automatique de documentation d'aide avec un formatage personnalisable et un système de callback pour déclencher une logique personnalisée lors d'étapes d'analyse spécifiques. Cette bibliothèque sans dépendance est conçue pour C++11 et les versions ultérieures.
Provides callbacks that run at specific stages of the parsing process to perform setup or teardown actions.
Ce projet est un framework de web scraping Node.js conçu pour automatiser l'extraction de données via un flux de travail programmatique de requêtes, d'analyse et d'interaction avec les documents. Il fonctionne comme un crawler web headless, un gestionnaire de requêtes HTTP, ainsi qu'un analyseur et extracteur DOM. Le framework se distingue en combinant un moteur d'exécution JavaScript pour interagir avec le contenu dynamique et un système de sélection hybride qui utilise à la fois des sélecteurs CSS et XPath. Il inclut un middleware spécialisé pour la rotation de proxy et la gestion de session cookie-jar afin de maintenir les états authentifiés et de gérer le trafic automatisé. Ses capacités plus larges couvrent le crawling de liens récursif, la gestion de la pagination et l'automatisation des formulaires web. L'outil fournit également des fonctionnalités de gestion du trafic telles que la limitation du taux de requêtes via des délais temporisés et une configuration personnalisée des en-têtes 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.