preston / railroady

Ruby on Rails 3/4/5 model and controller UML class diagram generator. (`brew/port/apt-get install graphviz` before use!)
Other
1.72k stars 142 forks source link

Multiple globs with --specify? #114

Closed smitchelus closed 7 years ago

smitchelus commented 7 years ago

Hi, I'm trying to figure out how best to specify the model files I want included in any particular diagram. I have a couple of globs I would like to include, but I don't quite get how I should format that to get them properly included. Here's one of the many permutations I have tried:

railroady -o models.dot -M --specify './app/models/**/*cadence*.rb', './app/models/**/*step*.rb'

So far nothing I have tried has worked. Any suggestions here?

smitchelus commented 7 years ago

Sorry, I got it now. Needed to pass the globs in as 1 comma separated string.

railroady -o models.dot -M --specify './app/models/**/*cadence*.rb,./app/models/**/*step*.rb'