UNPKG

rdme

Version:

ReadMe's official CLI and GitHub Action.

17 lines (16 loc) 657 B
import BaseCommand from '../../lib/baseCommand.js'; import { args, summary, description, examples, flags } from '../../lib/exportCommandProperties.js'; import { exportDocs } from '../../lib/exportDocs.js'; export default class ReferenceExportCommand extends BaseCommand { id = 'reference export'; route = 'reference'; static section = 'Reference'; static summary = summary(this.section); static description = description(this.section, 'reference'); static args = args(this.section); static flags = flags(this.section); static examples = examples(this.section); async run() { return exportDocs.call(this); } }