Skip to main content

uninstall

Function uninstall 

Source
pub fn uninstall(layout: &Layout, 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. Removed destinations leave the record too; what is gone cannot be vouched for.

§Errors

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