havardh / javaflow

Java model to flowtype converter
22 stars 5 forks source link

feat: support directories input #58

Closed pascalgn closed 5 years ago

pascalgn commented 5 years ago

Not quite sure about this one. But it helps a lot when I can just run it from inside the IDE, without needing the Maven plugin.

The previous behaviour was an IOException when a directory was passed in. I think it makes sense to just read directories recursively when passed (I guess it's what users would expect), but maybe it needs some kind of flag to explicitly enable directory reading.