get-formatter
getFormatter(options) โ Formatter
Get formatter from options.format (default: summary)
Kind: global function
Returns: Formatter - - formatter with a format method that will return the result string.
| Param | Type | Description |
|---|---|---|
| options | FormatterOptions | formatter options that may specify the formatter name. |
| options.cwd | string | the directory where custom format located. |
| options.format | OutputFormat | string | specify the output format, it can be summary, json and customized format |
| options.outputFile | string | specify a output file to save the result. |