broccoli-extract-comments
Extract code comments from source files
This broccoli-plugin let's you extract code comments and write into an output-file.
Basic Usage
// Brocfile.jsvar extractComments = ; var commentsTree = ; moduleexports = commentsTree;
Options
options.allowNone
Type: Boolean
Default value: false
Allows for empty file paths in broccoli's globbing pattern
options.raw
Type: Boolean
Default value: false
Specifies whether to output raw comments instead of extracted text.
options.filter
Type: Function
Default value: null
Specify a callback-function to filter desired comments, i.e.:
{ return commenttext >= 0;}
options.outputFile
Type: String
Default value: "comments.txt"
Specifies destination file for extracted comments
options.separator
Type: String
Default value: "\n"
Specifies separator for concatenated comments