UNPKG

kui-shell

Version:

This is the monorepo for Kui, the hybrid command-line/GUI electron-based Kubernetes tool

10 lines (9 loc) 474 B
import Commands from '@kui-shell/core/api/commands'; export interface TabCompletionSpec { toBeCompleted: string; toBeCompletedIdx: number; } declare type Enumerator = (commandLine: Commands.CommandLine, spec: TabCompletionSpec) => string[] | Promise<string[]>; export declare function registerEnumerator(enumerator: Enumerator): void; export declare function applyEnumerator(commandLine: Commands.CommandLine, spec: TabCompletionSpec): Promise<string[]>; export {};