UNPKG

1.33 kBTypeScriptView Raw
1import Command from '../base';
2import { OpCommand, OpWorkflow, ListInputs } from '../types';
3export default class List extends Command {
4 static description: string;
5 static flags: {
6 help: import("@oclif/parser/lib/flags").IBooleanFlag<void>;
7 };
8 opResults: (OpCommand | OpWorkflow)[];
9 getApiOps: (inputs: ListInputs) => Promise<ListInputs>;
10 getLocalOps: (inputs: ListInputs) => Promise<ListInputs>;
11 filterOutGlueCodes: (inputs: ListInputs) => ListInputs;
12 promptOps: (inputs: ListInputs) => Promise<ListInputs>;
13 _autocompleteSearch: (_: Record<string, any>, input?: string) => Promise<{
14 value: OpCommand | OpWorkflow;
15 name: string;
16 }[]>;
17 _fuzzyFilterParams: () => {
18 list: {
19 name: string;
20 value: OpCommand | OpWorkflow;
21 }[];
22 options: {
23 extract: (el: any) => any;
24 };
25 };
26 _formatOpOrWorkflowName: (op: OpCommand | OpWorkflow) => string;
27 _formatOpOrWorkflowEmoji: (opOrWorkflow: OpCommand | OpWorkflow) => string;
28 showRunMessage: (inputs: ListInputs) => ListInputs;
29 sendAnalytics: (inputs: ListInputs) => Promise<ListInputs>;
30 startSpinner: (inputs: ListInputs) => Promise<ListInputs>;
31 stopSpinner: (inputs: ListInputs) => Promise<ListInputs>;
32 run(): Promise<void>;
33}