Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement uninstall command on Linux #2

Closed
patrickfreed opened this issue Sep 7, 2022 · 0 comments · Fixed by #25
Closed

Implement uninstall command on Linux #2

patrickfreed opened this issue Sep 7, 2022 · 0 comments · Fixed by #25
Labels
linux Issues related to implementing the Linux swiftly executable

Comments

@patrickfreed
Copy link
Contributor

The uninstall command accepts a toolchain selector and uninstalls all matching toolchain(s) after prompting for confirmation. The skeleton code for this command is already implemented, but the following need to be completed in the Linux platform implementation:

  • Platform.listToolchains for getting the list of currently installed toolchains
    • This can probably be default-implemented on the Platform protocol, since all the information is coming from config.json anyways
  • Platform.uninstall: basically just deletes the toolchains/<toolchain name> directory and removes it from config.json
@patrickfreed patrickfreed added the linux Issues related to implementing the Linux swiftly executable label Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linux Issues related to implementing the Linux swiftly executable
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant