tbillington / kondo

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

Overview for CLI version #109

Open tgross35 opened 9 months ago

tgross35 commented 9 months ago

It looks like the GUI has a list of all the projects Kondo detected. Would it be possible to bring something like this to the CLI?

Npkill's TUI has a pretty cool way of doing this for reference (first GIF at https://github.com/voidcosmos/npkill shows it), though that exact interface would need something like ratatui which would be more complex than necessary.

(if you do replicate the npkill interface, please consider using space to stage changes then something like D and confirm with y to delete all staged deletions. Hitting space to instantly make a folder go poof is easy to mess up).

Awesome project with a great name, thank you for creating it!

tbillington commented 9 months ago

Hey! Glad you like it :)

That's a pretty neat suggestion actually. It would be possible to do that. I'm currently working on a rework of the project discover logic to cover a few more edge cases.

If no one has taken a crack at it before I'm finished I might have a look ;)