@swell/cli
Version:
Swell's command line interface/utility
34 lines (33 loc) • 1.85 kB
TypeScript
import { InspectResourceCommand, InspectResourceCommandParsed } from '../../inspect-resource-command.js';
import { InspectScope } from '../../lib/apps/inspect-scope.js';
import { WorkflowManifestRecord } from '../../lib/workflows/operations.js';
export default class Workflows 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;
private appSlugById;
private skippedApps;
private detailRef?;
run(): Promise<void>;
protected keyFor(record: WorkflowManifestRecord, appSlugById: Record<string, string>): string;
protected metaFor(record: WorkflowManifestRecord): string | undefined;
protected getListResults(scope: InspectScope, _flags: InspectResourceCommandParsed['flags']): Promise<WorkflowManifestRecord[]>;
protected getAppSlugById(scope: InspectScope): Promise<Record<string, string>>;
protected afterList(): void;
protected showDetail(identifier: string, _scope: InspectScope, flags: InspectResourceCommandParsed['flags']): Promise<void>;
protected hints(): string[];
private getWorkflowListForApp;
}