import { ParsedOptions } from '@kui-shell/core'; export type EntityFormat = 'yaml' | 'json'; export type TableFormat = 'wide' | string; export type CustomFormat = string; export type OutputFormat = EntityFormat | TableFormat | CustomFormat; /** An incomplete set of kubectl options */ interface KubeOptions extends ParsedOptions { A?: boolean; 'all-namespaces'?: boolean; cluster?: string; context?: string; kubeconfig?: string; 'dry-run'?: boolean | string; n?: string | string[]; namespace?: string | string[]; c?: string; container?: string; o?: OutputFormat; output?: OutputFormat; w?: boolean; watch?: boolean; 'watch-only'?: boolean; wait?: boolean; p?: boolean; previous?: boolean; l?: string; label?: string; selector?: string | string[]; f?: string | string[]; filename?: string | string[]; k?: string; kustomize?: string; h?: boolean; help?: boolean; limit?: number; 'sort-by'?: string; } export default KubeOptions;