Skip to content

Add an uninstall-all/clean sub-command for xbuildenvs #169

Open
@agriyakhetarpal

Description

@agriyakhetarpal

One consequence of #148 is that the xbuildenvs are downloaded into the XDG cache or Library/Caches/ folder, which is not a convenient location for the end user to access. Multiple xbuildenvs can take up a bunch of space. For local development, the fact that we use a VCS-based versioning scheme means that I have a bunch of redundant xbuildenvs at any time on my machine per commit, which I need to go and either delete or uninstall one by one.

Thus, I would like to propose a command that removes them – as a wrapper over pyodide xbuildenv uninstall. We could call it:

  • pyodide xbuildenv uninstall-all (similar to pipx, and closer in wording to uninstall which we already have); or
  • pyodide xbuildenv clean (similar to uv cache clean or pip cache purge, as we're storing it in the caches directory)

I don't have a preference here, but I'm happy to hear opinions on either of the options.

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