How to handle uninstall, remove, purge of an installed asset? #22
pirafrank
started this conversation in
Feature Requests and Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Prerequisites
Problem
User should be able, after
install
-ing some binary from a slug to either:use
note: each step should also performs the previous ones.
Solutions
Option 1
unlink COMMAND
, remove symlink to a binary installed in poof's bin diruninstall USER/REPO
, delete the current version inuse
of a slug from installed dir (if no version is provided), and delete the symlink to ituninstall USER/REPO VERSION
, delete a given VERSION of a slug from installed dir, and delete the symlink to ituninstall USER/REPO --all
, remove all installed binaries for a given slug, and delete any symlink to one of its versionsOption 2
unlink COMMAND
, remove symlink to a binary installed in poof's bin dirremove USER/REPO
, delete the current version inuse
of a slug from installed dir (if no version is provided), and delete the symlink to itremove USER/REPO VERSION
, delete the given VERSION of a slug from installed dir, and delete the symlink to itpurge USER/REPO
, remove all installed binaries for a given slug, and delete any symlink to one of its versionsOption 3
uninstall USER/REPO
, remove symlink(s) to a binary installed in poof's bin dirremove USER/REPO
, delete the current version inuse
of a slug from installed dir, and delete the symlink to itremove USER/REPO VERSION
, delete the given VERSION of a slug from installed dir, and delete the symlink to itpurge USER/REPO
, remove all installed binaries for a given slug, and delete any symlink to one of its versionsBeta Was this translation helpful? Give feedback.
All reactions