index.js
function readTemplate(doc) {
	return fs.readFileAsync(flags.template, "utf8").then(template => ({
		doc,
		template
	}));
}
function readTemplate(doc) {
	return fs.readFileAsync(flags.template, "utf8").then(template => ({
		doc,
		template
	}));
}
function readTemplate ( doc ) { return fs . readFileAsync ( flags . template , "utf8" ) . then ( template => ( { doc , template } ) ) ; }
/*
function parseWithDox(content) {
const dox = require('dox')

let doc = dox.parseComments(fs.readFileSync(file, "utf8"));
fs.writeFileSync("./dox.txt", JSON.stringify(doc, null, 4));
return doc;
}
/ * function parseWithDox ( content ) { const dox = require ( dox )