jbt / docker

Documentation generator
http://jbt.github.com/docker
MIT License
233 stars 56 forks source link

Running docker on per file basis #39

Closed vgm106 closed 11 years ago

vgm106 commented 11 years ago

How about running docker per file?, like so

$docker -i example.js -o docs
jbt commented 11 years ago

This should already work if you do;

$ docker -o docs file1.js [file2.js etc]

The -i flag is for specifying the root input directory, and you can specify any number of files as arguments.