rdme
Version:
ReadMe's official CLI and GitHub Action.
18 lines (17 loc) • 746 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 RefUploadCommand extends BaseCommand {
id = 'reference upload';
route = 'reference';
static section = 'Reference';
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);
}
}