pub fn remove_plugin(removed_name: &str)Expand description
Remove a plugin by its name. Plugin lib.so file will be deleted and removed from config file
§Steps
- remove the repository folder if it exists
- remove the libso file from
crate::common::REPOSITORIES_PATH - remove the
plugin_name: plugin_libso_pathfromcrate::common::CONFIG_PATH
§Failure
If something went wrong it will exit with an error message printed to stderr.