make doc output to sdout or in a designated file
add prepend option
Merge pull request #36 from heroku/doc-streamlined

Streamline doc command