mario-eth / soldeer

Solidity Package Manager written in rust
MIT License
188 stars 19 forks source link

Add `soldeer clean` command #140

Open ufoscout opened 1 month ago

ufoscout commented 1 month ago

It would be useful to have a clean command to remove downloaded and generated artifacts, as is commonly available in other package managers.

mario-eth commented 1 month ago

we have uninstall once the new version is released, 0.3.0

ufoscout commented 1 month ago

@mario-eth Maybe I'm wrong, but uninstall removes a dependency from the dependencies tree (i.e. it removes it from the soldeer.lock file and the dependencies folder). Instead clean would only delete the dependencies folder and any other temporary or generated artifact; then, if you use soldeer update or soldeer build those folders will be recreated from scratch. Essentially soldeer clean should be the equivalent of cargo clean