UNPKG

rdme

Version:

ReadMe's official CLI and GitHub Action.

18 lines (17 loc) 762 B
import BaseCommand from '../../lib/baseCommand.js'; import { branchFlag, keyFlag } from '../../lib/flags.js'; import { args, baseFlags, description, examples, summary } from '../../lib/pageCommandProperties.js'; import syncPagePath, {} from '../../lib/syncPagePath.js'; export default class CustomPagesUploadCommand extends BaseCommand { id = 'custompages upload'; route = 'custom_pages'; static section = 'Custom Pages'; static summary = summary(this.section); static description = description(this.section); static args = args(this.section); static examples = examples(this.section); static flags = { key: keyFlag, ...branchFlag(), ...baseFlags(this.section) }; async run() { return syncPagePath.call(this); } }