fixed logging and remove

This commit is contained in:
2026-02-20 15:03:58 -06:00
parent e4588e43f2
commit 148cf12787
5 changed files with 65 additions and 20 deletions

View File

@@ -33,6 +33,7 @@ for (i = 0; i < length(args); i++) {
log.console(" --prune Also remove packages no longer needed by any root")
log.console(" --dry-run Show what would be removed")
$stop()
disrupt
} else if (!starts_with(args[i], '-')) {
target_pkg = args[i]
}
@@ -41,6 +42,7 @@ for (i = 0; i < length(args); i++) {
if (!target_pkg) {
log.console("Usage: cell remove <locator> [options]")
$stop()
disrupt
}
// Resolve relative paths to absolute paths