r0gue-io / pop-cli

An all-in-one tool for Polkadot development.
GNU General Public License v3.0
57 stars 17 forks source link

feat: add clean all option in the `pop clean` command #225

Open AlexD10S opened 6 days ago

AlexD10S commented 6 days ago

With the new command pop clean we let the user pick what binaries to remove. Add an option in the multiselect to remove all the content or introduce --all flag.

bolajahmad commented 15 hours ago

what binaries to remove, does this have to do with both contracts and parachain?

That means 2 commands, pop clean contract [contract_1, ...contract_i)] and pop clean parachain?

AlexD10S commented 8 hours ago

In this PR https://github.com/r0gue-io/pop-cli/pull/216 we introduced a new command to clean the cache. You can tests it wtih pop clean cache. It checks the artifacts that pop has been storing in the cache for faster development and cleans them. No need to specify contracts or parachains related, currently all are parachain binaries. It would be good to add the --allflag to this command to remove all artifacts without requiring user selection. You can see the code forpop clean in the PR shared above.

bolajahmad commented 3 hours ago

Assign this issue to me, I'll work on a PR.

AlexD10S commented 3 hours ago

Cool! Thanks for the interest. Let us know if you have any doubts, and we will help you.