6 个仓库
Mechanisms to trigger shell commands or automation tasks based on the fulfillment of specific system or network conditions.
Distinguishing note: The candidates are specific to AI, wireless, or business playbooks; this feature is a general-purpose DevOps utility for network-based triggering.
Explore 6 awesome GitHub repositories matching devops & infrastructure · Conditional Command Executions. Refine with filters or upvote what's useful.
wait-for-it is a Bash-based service dependency tool and network utility designed to verify TCP port availability. It functions as a connection wait script that pauses execution until a specific host and port are reachable. The utility polls a remote port to ensure a service is online before starting dependent processes. Once the network condition is met or a TCP socket handshake is successful, it can trigger a secondary command to initiate subsequent automation tasks. The script includes mechanisms for linear execution blocking and timeout-driven termination to prevent infinite hangs. These
Wait-for-it executes a specified subcommand after a port becomes available to trigger subsequent automation tasks.
Lefthook is a Git hook manager and workflow automation tool designed to execute user-defined scripts during version control events. It automates the execution of linters, tests, and formatters to validate changes and maintain code quality before commits or pushes. The project distinguishes itself through a parallel execution model that runs multiple shell commands concurrently to reduce latency. It supports complex configuration management, including the ability to merge global, remote, and local settings and synchronize configurations from external repositories to standardize development env
Runs specific commands or hooks only when defined conditions are met, such as matching a branch pattern.
Documents conditional execution using && and || operators as a core shell control flow mechanism.
这是一个综合教育资源,包含 Bash 编程教程、脚本参考和 Linux 命令行手册。它提供用于编写脚本、自动化系统任务以及掌握终端导航和 Unix 系统管理的教学材料。 这些指南涵盖了广泛的 Shell 环境定制,包括提示符样式和别名的使用。它还提供了一个用于管理配置文件和初始化用户环境的 Shell 环境指南。 这些材料详细说明了一套广泛的功能,包括控制流逻辑、使用索引和关联数组的数据管理以及文本处理。其他涵盖的领域包括文件和资源管理、使用正则表达式的模式匹配,以及用于脚本调试和语法验证的可观测性工具。 该资源还解释了交互式终端功能,如命令历史记录检索、输入补全以及用于命令行导航的键盘快捷键。
Teaches the use of logical operators to trigger subsequent commands based on success or failure.
Vimium-C is a keyboard-driven browser extension that provides a vim-like navigation tool for web browsers. It functions as a customizable key mapper and accessibility tool, allowing users to interact with web content and manage browser tabs and windows without a mouse. The project distinguishes itself through advanced key mapping capabilities, including the ability to define contextual shortcuts based on the website host and remap keyboard layouts. It implements mode-specific mappings to prevent command conflicts and allows for specific keyboard mappings to function within text input boxes.
Enables the execution of action sequences based on the success or failure of previous commands using branching logic.
Mapshaper 是一个用于处理、简化和转换地理矢量数据的工具,提供命令行界面、Web 浏览器工具和 Node.js 库。它作为一个坐标投影器、矢量数据转换器和 Web 地图资产优化器,旨在在不同的坐标参考系统和文件格式之间转换空间数据集。 该项目以其拓扑保持几何简化而著称,在减少顶点数量的同时保持共享边界,以防止间隙和重叠。它还通过坐标量化和属性过滤进一步优化 Web 资产,以减小文件大小。 该系统涵盖了广泛的功能,包括使用 PROJ 字符串和 EPSG 代码进行坐标重投影,以及跨 Shapefile、GeoJSON、TopoJSON、GeoPackage 和 KML 等格式的数据转换。它提供了广泛的几何处理工具,用于缓冲、裁剪、溶解和修复拓扑,以及用于属性连接、过滤和转换的数据管理实用程序。此外,它还包括用于生成样式化 SVG 导出、经纬网和比例符号地图的视觉功能。 空间处理功能可以通过其 Node.js 库直接集成到 JavaScript 应用程序和构建流水线中。
Runs subsequent processing commands only if specified JavaScript conditions regarding the data layer are met.