pluginhook

simple plugin system for Bash programs

Install

All systems
curl cmd.cat/pluginhook.sh
Debian Debian
apt-get install pluginhook
Ubuntu
apt-get install pluginhook
Windows (WSL2)
sudo apt-get update sudo apt-get install pluginhook
Raspbian
apt-get install pluginhook

pluginhook

simple plugin system for Bash programs

The pluginhook command loops through all plugin directories found in the path defined by the environment variable PLUGIN_PATH and passes the same arguments to any hook scripts by that name. This means installing a plugin is as simple as putting it in your PLUGIN_PATH. pluginhook does not only provide a mechanism for arguments broadcasting, it also accepts streams and pass them through each plugin.