An example CLI that can execute arbitrary executable plugins.
Clone this repository. Then:
- Move the plugins in the
plugins/directory into the CLI root directory (~/.plugin-cli-example/plugins/). - Build the program
- Execute it
Additional plugins can be installed by moving an executable file into ~/.plugin-cli-example/plugins/.
There is a convenience helper in the Makefile to handle all this for you. Simply execute:
make demo