From d4a3a08aff484219dfeb9b983bef71b2f25727d0 Mon Sep 17 00:00:00 2001 From: devlinjd Date: Sat, 10 Oct 2015 20:11:26 -0400 Subject: [PATCH] Add JSON format support. --- src/fluentcmd.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fluentcmd.js b/src/fluentcmd.js index dd4f0ac..91d32e2 100644 --- a/src/fluentcmd.js +++ b/src/fluentcmd.js @@ -93,7 +93,8 @@ module.exports = function () { { name: 'txt', ext: 'txt', gen: new FLUENT.TextGenerator() }, { name: 'doc', ext: 'doc', fmt: 'xml', gen: new FLUENT.WordGenerator() }, { name: 'pdf', ext: 'pdf', fmt: 'html', is: false, gen: new FLUENT.HtmlPdfGenerator() }, - { name: 'markdown', ext: 'md', fmt: 'txt', gen: new FLUENT.MarkdownGenerator() } + { name: 'markdown', ext: 'md', fmt: 'txt', gen: new FLUENT.MarkdownGenerator() }, + { name: 'json', ext: 'json', gen: new FLUENT.JsonGenerator() } ]; /**