Reputation: 2495
Using the node.js npm package what is the command (osx bash $ groc) to create documentation for files in path/to/thisDirectory
and all subdirectories?
$ cd path/to/thisDirectory
$ groc App/scripts/**/*.js
The above only processes files one level deeper than /scripts/
and none above or below ... which makes sense!
I probably just need to know the syntax for getting subdirectories. I couldn't find info anywhere else.
Globbing?
Upvotes: 0
Views: 431
Reputation: 13917
In the groc manual, it says you should quote the globbed path to let groc do the expansion:
$ groc "App/scripts/**/*.js"
Upvotes: 1