input-terminal
    Preparing search index...

    Class ExitObject

    An object that is returned when a command is executed.

    Index

    Constructors

    • Parameters

      • userInput: string[]

        the input array that was used to execute the command

      • rawInput: string

        the raw input that was used to execute the command

      • command: undefined | Command

        the command that was executed; undefined if the command is not found

      • exitCode: number

        the exit code of the command

      • output: any

        the output of the command

      Returns ExitObject

    Accessors

    • get timestamp(): number

      Get the timestamp of the execution.

      Returns number

    • get exitCode(): number

      Get the exit code of the execution.

      Returns number

    • get userInput(): string[]

      Get the input that was used to execute the command.

      Returns string[]

    • get rawInput(): string

      Get the raw input that was entered to execute the command.

      Returns string