Interface TerminalCommandMatchResult

interface TerminalCommandMatchResult {
    commandLine: string;
    commandLineMatch: RegExpMatchArray;
    outputMatch?: {
        outputLines?: string[];
        regexMatch: RegExpMatchArray;
    };
}

Properties

commandLine: string
commandLineMatch: RegExpMatchArray
outputMatch?: {
    outputLines?: string[];
    regexMatch: RegExpMatchArray;
}

Type declaration

  • Optional outputLines?: string[]
  • regexMatch: RegExpMatchArray