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++ 库,用于解析命令行参数和管理配置文件。它将 shell 输入映射到类型化变量,并支持创建复杂的命令层级。 该库的特色在于支持无限深度的嵌套子命令和前缀匹配。它通过允许从 TOML 或 INI 文件加载应用程序设置来集成配置管理,并支持回退到环境变量。 该项目提供了一套完整的参数解析工具,包括标志和位置参数,以及用于强制执行强制选项和相互依赖关系的验证框架。它还包括带有可自定义格式的自动帮助文档生成功能,以及在特定解析阶段触发自定义逻辑的回调系统。 该库无依赖,专为 C++11 及更高版本设计。
Provides callbacks that run at specific stages of the parsing process to perform setup or teardown actions.
该项目是一个 Node.js Web 抓取框架,旨在通过请求、解析和文档交互的程序化工作流自动化数据提取。它作为一个无头 Web 爬虫、HTTP 请求管理器以及 DOM 解析器和提取器。 该框架通过结合用于与动态内容交互的 JavaScript 执行引擎和利用 CSS 及 XPath 选择器的混合选择系统脱颖而出。它包括用于代理轮换和 Cookie 罐会话管理的专用中间件,以维护身份验证状态并管理自动化流量。 其更广泛的功能涵盖递归链接爬取、分页处理和 Web 表单自动化。该工具还提供流量管理功能,例如通过定时延迟进行请求速率限制和自定义 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.