Skip to content

Commit d4a3a08

Browse files
committed
Add JSON format support.
1 parent b1d987c commit d4a3a08

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/fluentcmd.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ module.exports = function () {
9393
{ name: 'txt', ext: 'txt', gen: new FLUENT.TextGenerator() },
9494
{ name: 'doc', ext: 'doc', fmt: 'xml', gen: new FLUENT.WordGenerator() },
9595
{ name: 'pdf', ext: 'pdf', fmt: 'html', is: false, gen: new FLUENT.HtmlPdfGenerator() },
96-
{ name: 'markdown', ext: 'md', fmt: 'txt', gen: new FLUENT.MarkdownGenerator() }
96+
{ name: 'markdown', ext: 'md', fmt: 'txt', gen: new FLUENT.MarkdownGenerator() },
97+
{ name: 'json', ext: 'json', gen: new FLUENT.JsonGenerator() }
9798
];
9899

99100
/**

0 commit comments

Comments
 (0)