UNPKG

rdme

Version:

ReadMe's official CLI and GitHub Action.

17 lines (16 loc) 636 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 DocsExportCommand extends BaseCommand { id = 'docs export'; route = 'guides'; static section = 'Guides'; static summary = summary(this.section); static description = description(this.section, 'docs'); static args = args(this.section); static flags = flags(this.section); static examples = examples(this.section); async run() { return exportDocs.call(this); } }