Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

command

command: string

Command, including arguments, to pass to exec

Optional execOptions

execOptions: ExecOptions

Options to pass to child_process.exec

onFailure

onFailure: function

Called when the command failed: For example, because the command isn't installed

param

Type declaration

    • (e: Error): void
    • Parameters

      • e: Error

      Returns void

Optional onVerified

onVerified: function

Called when the command is successfully verified

param

Type declaration

    • (stdout: string): void
    • Parameters

      • stdout: string

      Returns void

onWrongVersion

onWrongVersion: function

Called when the command returns normally but we don't like the returned result (test failed)

Type declaration

Optional outputTest

outputTest: function

Test for the output of a successful command

param
returns

Type declaration

Generated using TypeDoc