nevir/groc — pull request #136 by dominicbosch (2013-11-14 08:41:18+00:00)
Title: Include example run command from node

I love the tool, it helps me in a great way to do my stuff!

But I want to run it from node and not the terminal. I have groc in my package.json dependencies which makes it instantly available and runnable for everybody in the project scope.
I had quite a hassle to find the exact syntax on how to do this with certain options.

It was easy when the options were only the files to be used for the documentation, but as soon as I wanted to switch to a different output folder, it got a bit difficult to figure that out.
I also tried it with the .groc.json config file, but that wasn't possible when calling groc.CLI(...).

I still have the feeling I might use the wrong entry point (groc.CLI(...)) for my approach...?