ewwii set-plugin
The set-plugin command allows users to load compiled shared libraries directly into ewwii for modifying its functionality.
Example:
# load the plugin at a specified path
ewwii set-plugin ./path/to/mylib.soSimilarly, there is an argument called --with-plugin on the daemon command that can be used to load the libraries before rhai evulation.
Example:
ewwii daemon --with-plugin ./path/to/mylib.soThere can only be one shared library loaded into a daemon. Once a library is loaded, there is no way to unload it without killing the daemon.