pypa / hatch

Modern, extensible Python project management
https://hatch.pypa.io/latest/
MIT License
5.86k stars 292 forks source link

Add a `hatch cache` command to manage cached data #1457

Open pfmoore opened 4 months ago

pfmoore commented 4 months ago

Hatch caches data on behalf of the user. This idea came up when discussing environments created as part of hatch run <script>. I don't know if there is other cached data that could benefit from this command, but the following could be useful for managing script environments.

This list is a bit "off the top of my head" - I can think of use cases for all of these, but there may be other possibilities as well, or there may be better ways of structuring the subcommands.