rdme
Version:
ReadMe's official CLI and GitHub Action.
18 lines (17 loc) • 736 B
JavaScript
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 DocsUploadCommand extends BaseCommand {
id = 'docs upload';
route = 'guides';
static section = 'Guides';
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);
}
}