pub fn cmd_update( plugins_dir: &Path, name: &str, version: Option<&str>, ) -> Result<()>
Update an installed plugin to the latest (or specified) version.