UNPKG

kui-shell

Version:

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

15 lines (14 loc) 951 B
import { Tab } from '../webapp/cli'; import { MixedResponse } from './entity'; import { EvaluatorArgs, Response } from './command'; import { ExecOptions } from './execOptions'; export default interface REPL { qexec<T = Response>(command: string, block?: HTMLElement | boolean, contextChangeOK?: boolean, execOptions?: ExecOptions, nextBlock?: HTMLElement): Promise<T>; rexec<T = Response>(command: string, execOptions?: ExecOptions): Promise<T>; pexec<T = Response>(command: string, execOptions?: ExecOptions): Promise<T>; click(command: string | (() => Promise<string>), evt: MouseEvent): Promise<void>; update(tab: Tab, command: string, execOptions?: ExecOptions): Promise<void>; semicolonInvoke(opts: EvaluatorArgs): Promise<MixedResponse>; encodeComponent(component: string | number | boolean, quote?: string): string; split(str: string, removeOuterQuotes?: boolean, removeInlineOuterQuotes?: boolean): string[]; }