6 Repos
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.
Dieses Projekt ist eine umfassende Bildungsressource, bestehend aus einem Bash-Programmier-Tutorial, einer Skripting-Referenz und einem Linux-Kommandozeilen-Handbuch. Es bietet Lehrmaterialien für das Schreiben von Skripten, die Automatisierung von Systemaufgaben sowie die Beherrschung der Terminal-Navigation und Unix-Systemadministration. Die Anleitungen decken eine breite Palette an Anpassungen der Shell-Umgebung ab, einschließlich Prompt-Styling und der Verwendung von Aliasen. Zudem gibt es einen Leitfaden für die Shell-Umgebung zur Verwaltung von Konfigurationsdateien und zur Initialisierung von Benutzerumgebungen. Die Materialien beschreiben eine Vielzahl von Funktionen, darunter Kontrollflusslogik, Datenverwaltung mit indizierten und assoziativen Arrays sowie Textverarbeitung. Weitere abgedeckte Bereiche umfassen Datei- und Ressourcenmanagement, Pattern-Matching mit regulären Ausdrücken sowie Observability-Tools für das Debugging von Skripten und die Syntaxvalidierung. Die Ressource erklärt zudem interaktive Terminal-Funktionen wie den Abruf der Befehlshistorie, die Eingabevervollständigung und Tastenkombinationen für die Navigation in der Kommandozeile.
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 is a tool for processing, simplifying, and converting geographic vector data, available as a command-line interface, a web browser tool, and a Node.js library. It functions as a coordinate projector, vector data converter, and web map asset optimizer designed to transform spatial datasets between different coordinate reference systems and file formats. The project is distinguished by its topology-preserving geometry simplification, which reduces vertex counts while maintaining shared boundaries to prevent gaps and overlaps. It further optimizes assets for the web through coordinate
Runs subsequent processing commands only if specified JavaScript conditions regarding the data layer are met.