stpettersens / gulp-codo

:tropical_drink: Gulp plug-in to generate documentation for CoffeeScript with codo.
https://libraries.io/npm/gulp-codo
Other
2 stars 1 forks source link

Using command line options. #3

Closed sschick-prognos closed 8 years ago

sschick-prognos commented 8 years ago

How do I add options (specifically I want --cautious) to codo when it's running through gulp?

stpettersens commented 8 years ago

Cautious option is not currently supported but I can patch it in for the next release.

After reading up more on this: I believe this is just the inverse of using closure comments. So you want the closure: false option. E.g.:

    return gulp.src('*.coffee', {read: false})
    .pipe(codo({
        // Other options omitted here....
        closure: false
    }));

Thanks for your feedback. Please let me know if this works for you, @sschick-prognos. Thanks :)