UNPKG

@swell/cli

Version:

Swell's command line interface/utility

26 lines (25 loc) 905 B
import { SwellCommand } from '../../swell-command.js'; export default class Content extends SwellCommand { static summary: string; static description: string; static args: { 'content-id': import("@oclif/core/lib/interfaces/parser.js").Arg<string | undefined, Record<string, unknown>>; }; static flags: { live: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>; yes: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>; }; static examples: string[]; run(): Promise<void>; protected catch(error: Error): Promise<any>; private listContent; private showContentViews; private showContentView; private resolveContentId; private showContentDetail; private reverseResolveContentId; private getAppBySlug; private getAppSlugId; private throwContentNotFound; private showContent; }