UNPKG

@swell/cli

Version:

Swell's command line interface/utility

37 lines (36 loc) 1.65 kB
import { InspectResourceCommand, InspectResourceCommandParsed } from '../../inspect-resource-command.js'; import { InspectScope } from '../../lib/apps/inspect-scope.js'; import { GroupInfo } from '../../lib/inspect/table.js'; interface ContentView { id: string; name: string; app_id?: string; collection?: string; fields?: any[]; source_id?: string; source_type?: string; views?: any[]; } export default class Content extends InspectResourceCommand { static summary: string; static description: string; static args: { identifier: import("@oclif/core/lib/interfaces/parser.js").Arg<string | undefined, Record<string, unknown>>; }; static flags: { app: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>; live: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>; json: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>; yes: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>; }; static examples: string[]; protected resourceLabel: string; protected resourceLabelSingular: string; protected adminPath: string; protected commandName: string; run(): Promise<void>; protected keyFor(record: ContentView, appSlugById: Record<string, string>): string; protected groupForRecord(record: ContentView, appSlugById: Record<string, string>): GroupInfo; protected showDetail(identifier: string, scope: InspectScope, flags: InspectResourceCommandParsed['flags']): Promise<void>; } export {};