Skip to content

Feature: add rm command to remove applications from ozy#101

Open
AveryClapp wants to merge 2 commits into
aquanauts:mainfrom
AveryClapp:feature/implement-rm-command
Open

Feature: add rm command to remove applications from ozy#101
AveryClapp wants to merge 2 commits into
aquanauts:mainfrom
AveryClapp:feature/implement-rm-command

Conversation

@AveryClapp

Copy link
Copy Markdown

Summary

  • Adds new rm command to remove installed applications from ozy
  • Removes the symlink from ~/.ozy/bin/
  • Optional --clear-cache flag to also remove cached versions from ~/.cache/ozy/
  • Defaults to preserving cache unless explicitly requested

Changes

  • Added Rm command variant to CLI with app_name argument and optional --clear-cache flag
  • Implemented rm() function that removes symlinks and optionally clears cache
  • Added informative output messages for removal operations

Usage

# Remove app symlink only (preserves cache)
ozy rm <app_name>

# Remove app symlink and cached versions
ozy rm <app_name> --clear-cache

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant