import type { CommandRegistry } from '../commands'; import type { IStdinContext } from '../context'; import type { Environment } from '../environment'; /** * Context within which to call ICommandRunner.tabComplete(). */ export interface ITabCompleteContext { name: string; /** * Command arguments. The last argument is the one to tab complete and may be an empty string. */ args: string[]; shellId: string; commandRegistry?: CommandRegistry; environment?: Environment; stdinContext?: IStdinContext; }