Skip to content

Conversation

@albertodebortoli
Copy link
Member

@albertodebortoli albertodebortoli commented Dec 30, 2025

Description

This PR repurposes the uninstall command. The command now uninstalls only a specific tool.
If multiple versions are installed, the user is prompted to select which one should be uninstalled.

E.g.

luca uninstall SwiftLint

◉ Select version
  Which version of SwiftLint do you want to uninstall?
      0.53.0
    ❯ 0.61.0

A subsequent PR will implement the unlink command to delete the symlinks to tools from specific project folders.

Type of Change

  • Feature
  • Bug fix
  • Maintenance / Refactor
  • Documentation
  • CI / Tooling
  • Other (specify)

How Has This Been Tested?

Describe the testing strategy and commands executed.

  • Added / updated unit tests
  • Manually tested locally
  • Tested on macOS (arch: arm64 / x86_64)
  • Other

Screenshots / Demo (if applicable)

Add images, logs, or terminal output.

Checklist

  • Swift code builds locally (swift build)
  • Tests pass locally (swift test)
  • Code style / formatting respected
  • Documentation updated (README / comments)
  • Version / tag alignment considered (if release related)
  • PR title follows conventional style (optional)

CI Considerations

  • Affects build time notably
  • Requires new secrets / env vars
  • Alters release process

Breaking Changes?

  • No
  • Yes

@albertodebortoli albertodebortoli added this to the 0.2.0 milestone Dec 30, 2025
@albertodebortoli albertodebortoli marked this pull request as ready for review December 30, 2025 15:44
@albertodebortoli albertodebortoli merged commit 360e235 into main Dec 30, 2025
2 checks passed
@albertodebortoli albertodebortoli deleted the repurpose-uninstall-command branch December 30, 2025 15:58
@albertodebortoli albertodebortoli mentioned this pull request Dec 30, 2025
21 tasks
@albertodebortoli albertodebortoli added the enhancement New feature or request label Jan 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants