Hierarchy

Constructors

  • Parameters

    • answerBuffer: string[]

    Returns ScriptHost

Properties

aborted: boolean = false
ascii: Ascii
commandPrompt: string
config: Config
defaultExecOptions: { async: boolean; silent: boolean } = ...

Type declaration

  • async: boolean
  • silent: boolean
defaultFetchJsonOptions: { headers: { Content-Type: string }; method: string } = ...

Type declaration

  • headers: { Content-Type: string }
    • Content-Type: string
  • method: string
defaultFetchTextOptions: { headers: { Content-Type: string }; method: string } = ...

Type declaration

  • headers: { Content-Type: string }
    • Content-Type: string
  • method: string
fetchPrompt: string
logger: Logger
shell: TSubShell = ...
theme: Theme

Methods

  • Parameters

    • command: string
    • Optional options: { logLevel?: LogLevel; noError?: RegExp[] } & ExecOptions

    Returns Promise<TExecReturnValue>

  • Type Parameters

    Type Parameters

    • T

    Parameters

    • url: string
    • options: RequestInit = null

    Returns Promise<TFetchReturnValue<T>>

  • Parameters

    • url: string
    • options: RequestInit = null

    Returns Promise<TFetchReturnValue<string>>

  • Parameters

    • builtIn: RequestInit
    • options: RequestInit

    Returns RequestInit