tbillington / kondo

Cleans dependencies and build artifacts from your projects.
MIT License
1.79k stars 51 forks source link

default option #83

Closed s-aditya-k closed 1 year ago

s-aditya-k commented 1 year ago

Creates the default option, so that using --default means that you can just hit enter to delete a folder.

tbillington commented 1 year ago

hey, thank you for the pr! would you be able to explain a little more motivation for this addition?

s-aditya-k commented 1 year ago

I want to be able to run through all of the build artifacts quickly, but I don't want to pass --all to the command and run the risk of deleting artifacts of large projects I want to keep, I have to keep hitting y -> enter -> y -> enter -> ... which irritates me a little bit. This option allows me to just skip the y, so I can just hit enter, enter ..., and when I come across a project I don't want to keep the build artifacts of I can input n -> enter like normal. This behavior is somewhat dangerous if you aren't being careful, so it's behind an option. If you have other questions, feel free to ask!