const getFormat = () => { if (argv.simple || argv.s) { return formatType.SIMPLE } else if (argv.plaintext || argv.p) { return formatType.PLAINTEXT } return formatType.MARKDOWN }
const getFormat = () => { if (argv.simple || argv.s) { return formatType.SIMPLE } else if (argv.plaintext || argv.p) { return formatType.PLAINTEXT } return formatType.MARKDOWN }