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. يوفر مواد تعليمية لكتابة النصوص البرمجية، وأتمتة مهام النظام، وإتقان التنقل في الطرفية (terminal) وإدارة أنظمة Unix. تغطي الأدلة مجموعة واسعة من تخصيص بيئة shell، بما في ذلك تنسيق المطالبة (prompt) واستخدام الأسماء المستعارة (aliases). كما يوفر دليلاً لبيئة shell لإدارة ملفات التكوين وتهيئة بيئات المستخدم. تفصل المواد مجموعة واسعة من القدرات بما في ذلك منطق تدفق التحكم، وإدارة البيانات باستخدام المصفوفات المفهرسة والترابطية، ومعالجة النصوص. تشمل المجالات الأخرى المغطاة إدارة الملفات والموارد، ومطابقة الأنماط باستخدام التعبيرات النمطية (regex)، وأدوات المراقبة لتصحيح أخطاء النصوص والتحقق من صحة البنية. يشرح المورد أيضاً ميزات الطرفية التفاعلية مثل استرجاع سجل الأوامر، وإكمال الإدخال، واختصارات لوحة المفاتيح للتنقل في سطر الأوامر.
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 هي أداة لمعالجة وتبسيط وتحويل البيانات المتجهة الجغرافية، متاحة كواجهة سطر أوامر، وأداة متصفح ويب، ومكتبة Node.js. تعمل كمسقط للإحداثيات، ومحول للبيانات المتجهة، ومحسن لأصول خرائط الويب مصمم لتحويل مجموعات البيانات المكانية بين أنظمة مرجعية إحداثية وتنسيقات ملفات مختلفة. يتميز المشروع بتبسيط الهندسة مع الحفاظ على الطوبولوجيا، مما يقلل من عدد الرؤوس مع الحفاظ على الحدود المشتركة لمنع الفجوات والتداخلات. كما يعمل على تحسين الأصول للويب من خلال تكميم الإحداثيات وتصفية السمات لتقليل أحجام الملفات. يغطي النظام مجموعة واسعة من الإمكانيات، بما في ذلك إعادة إسقاط الإحداثيات باستخدام سلاسل PROJ ورموز EPSG، وتحويل البيانات عبر تنسيقات مثل Shapefile وGeoJSON وTopoJSON وGeoPackage وKML. ويوفر أدوات معالجة هندسية واسعة النطاق للتخزين المؤقت، والقص، والإذابة، وإصلاح الطوبولوجيا، بالإضافة إلى أدوات إدارة البيانات لربط السمات وتصفيتها وتحويلها. بالإضافة إلى ذلك، يتضمن ميزات تصور لتوليد صادرات SVG مصممة، وشبكات إحداثيات، وخرائط رموز متناسبة. يمكن دمج إمكانيات المعالجة المكانية مباشرة في تطبيقات JavaScript وخطوط أنابيب البناء عبر مكتبة Node.js الخاصة به.
Runs subsequent processing commands only if specified JavaScript conditions regarding the data layer are met.