Skip to main content

uninstall

Function uninstall 

Source
pub fn uninstall(
    roots: &[Utf8PathBuf],
    apply: bool,
) -> Result<Vec<String>, AppError>
Expand description

Remove every installed skill under each root, previewing by default.

Only the payload’s own files go: each skill’s SKILL.md, and its directory when nothing else lives there. An absent destination is a no-op, so a re-run succeeds.

§Errors

AppError::Refused when a destination is a symlink or not a regular file, and I/O errors when a removal fails.