http-server-md
Version:
A configurable HTTP server that serves markdown files rendered to HTML with markdown-it
16 lines (14 loc) • 338 B
JavaScript
const SERVE_YARGS_CONFIG = {
command: ['serve [path] [options]', '$0 [command] [options]'],
describe: 'Serve local files',
alias: 's',
builder: {
port: {
default: 8960,
describe: 'Port number to spawn HTTP server on',
demandOption: true,
type: 'number'
}
}
}
module.exports = SERVE_YARGS_CONFIG