crystal-libraries-needed
crystal-libraries-needed copied to clipboard
Find and Filter Files (enhanced glob)
It would be great to have a shard with more elaborate ways to find and filter files than Dir.glob
. It should be able to query for example all files with extension .sass
or .scss
in non-hidden directories and basename does not begin with _
. So I basically a Crystal library version of find
.
There is https://github.com/sstephenson/hike in Ruby, but the API does look a bit weird.
Definitely not as full featured as find
, but this is something I did in some spare time at work this past week that could get the job done. Feel free to provide feedback if you like. I'm a Python dev professionally and haven't done much open source.
https://github.com/mlobl/finder