Expand description
Plugin management commands: install, list, remove, update.
These are client-side operations that manage the ~/.room/plugins/
directory. The daemon loads plugins from this directory on startup
using libloading.
Structs§
- Plugin
Meta - Metadata written alongside each installed plugin shared library.
Constants§
- BUILTIN_
PLUGINS - Statically compiled plugins shipped with the room binary.
Functions§
- cmd_
install - Install a plugin from crates.io.
- cmd_
list - List all plugins — builtins first, then installed external plugins.
- cmd_
remove - Remove an installed plugin.
- cmd_
update - Update an installed plugin to the latest (or specified) version.
- lib_
filename - Compute the expected shared library filename for a plugin crate.
- meta_
path - Path to the
.meta.jsonfile for a plugin. - resolve_
crate_ name - Resolve a user-supplied plugin name to the crate name on crates.io.
- scan_
installed - Scan the plugins directory and return metadata for all installed plugins.
- short_
name - Derive the short plugin name from a crate name.