Skip to content

anvayabn/bashable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐚 bashable

bashable is a Python module that lets you define and run Bash-based tasks using YAML. You can customize environment variables, switch users, set working directories, and execute either inline commands or external scripts — all from a clean, declarative config format.


📦 Features

  • Define tasks with COMMANDS or SCRIPT
  • Global and task-specific variables
  • Recursive variable substitution using ${VAR} syntax
  • Support for running as different users (sudo -u)
  • Set working directories per task
  • Script templating using Python’s string.Template

--

Get Started

  • Setup Python Virtual Env
chmod +x setup_env

activate_venv

pip install -e . 
  • Run demo1.py
 python3 demo1.py 

About

Run Bash using Yaml

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors