UNPKG

@swell/cli

Version:

Swell's command line interface/utility

32 lines (31 loc) 1.75 kB
import { InspectResourceCommand, InspectResourceCommandParsed } from '../../inspect-resource-command.js'; import { InspectScope } from '../../lib/apps/inspect-scope.js'; import { NotificationRecord } from '../../lib/inspect/notifications.js'; import { GroupInfo } from '../../lib/inspect/table.js'; export default class Notifications 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: NotificationRecord, appSlugById: Record<string, string>): string; protected groupForRecord(record: NotificationRecord, appSlugById: Record<string, string>): GroupInfo; protected metaFor(r: NotificationRecord): string | undefined; protected hints(record: NotificationRecord): string[]; protected showDetail(identifier: string, scope: InspectScope, flags: InspectResourceCommandParsed['flags']): Promise<void>; private resolveSlugOrHex; private lookupTriplet; private lookupAndDisambiguate; }