Keats / kickstart

A scaffolding tool to get new projects up and running quickly
MIT License
354 stars 24 forks source link

matching cleanup filenames by wildcard strings #57

Open moimikey opened 2 years ago

moimikey commented 2 years ago

would it be worth changing https://github.com/Keats/kickstart/blob/51de34745d928475e219ecfb51a9b8edb8803ae2/src/generation.rs#L172 to use .contains or some kind of glob matcher. I'm trying to delete all files in a directory and not the directory itself, because i want it to remain empty, but still present.

Keats commented 2 years ago

It could work as a glob I think