Closed ajmeyghani closed 6 years ago
Can we do it synchronously? Just readFileSync
, without introducing additional dependencies.
I reverted my changes. It seems like you have to pass the glob pattern as a string. So I updated the readme
file to make that clear.
@aminmeyghani Interesting! Thanks!
It seems like
meow
automatically creates an array when you provide a wild-card-like pattern. So for the following, thecli.input
would be all the files that match the first pattern + all the other things that you specify followed by space:Now, I haven't tested this on Windows, it could be that Mac automatically does that, but it works!