{"repo":"rash-sh/rash","free":true,"listed":false,"github":"https://github.com/rash-sh/rash","clone":"git clone https://github.com/rash-sh/rash.git","description":"Declarative shell scripting using Rust native bindings inspired by Ansible","language":"Rust","stars":251,"topics":["bash","cloud","containers","docker","rust","shell","cli"],"license":"GPL-3.0","category":"cli-tools","readme_excerpt":"rash Rash is a lightweight, container-friendly shell scripting language that uses a declarative YAML syntax inspired by Ansible. It brings the simplicity and readability of Ansible playbooks to local scripting and container entrypoints, all in a single Rust binary with no dependencies. Why Rash? - Declarative vs Imperative : Define what your script should accomplish, not how - Container-Optimized : Single binary with no dependencies, perfect for minimal containers - Lightweight : Runs on any Linux system, even resource-constrained IoT devices - Template-Powered : Uses MiniJinja for powerful templating capabilities - Intuitive Syntax : Familiar YAML structure for those who know Ansible - Built-in Command-Line Parsing : Elegant docopt implementation for clean script interfaces - Modular Design : Focused modules for different tasks Example: Imperative vs Declarative Bash (Imperative) Rash (Declarative) Installation Binary (Linux/macOS) Arch Linux (AUR) Cargo Docker Key Features Built-in Command-Line Interface Parser Container Entrypoints Perfect for creating maintainable container entrypoints that handle environment validation, configuration management, and service initialization: Templating System Access environment variables and use powerful filters: Privilege Escalation Run commands as different users with the built-in become functionality: Documentation For comprehensive documentation, visit: https://rash-sh.github.io/docs/rash/master/ Community - GitHub: https://github.com/","default_branch":null,"files":null,"tree":[],"storefront":"/r/rash-sh","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rash-sh/rash/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}