Skip to content

feat: add bundle uninstall command #54

@justinmerrell

Description

@justinmerrell

Summary

Add a bundle uninstall command that removes previously installed bundle assets from the project directory.

Functionality to implement

  • Read installation tracking from .musher/installed.json
  • Remove all files listed in the installation entry's installedAssets
  • Interactive confirmation prompt before deletion
  • --force flag to skip confirmation
  • Clean up empty directories after asset removal
  • Update the installation registry to remove the entry

Reference source (mush)

  • cmd/mush/bundle.go — uninstall subcommand wiring
  • internal/bundle/install.goUninstall() function, FindInstalled()

Context

The install registry infrastructure exists (internal/bundle/install/registry.go with Track()) but there is no CLI command to reverse an installation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions