Skip to main content

Command

Index

Constructors

constructor

  • Class used to define shell commands be executed in the pipeline


    Parameters

    Returns Command

Properties

command

command: string

id

id: string

output

output: Output

parent

parent: Pipeline

state

state: string

time

time: number

Methods

getReport

  • returns information pertaining to the command


    Returns CommandReport

run

  • run(): Promise<unknown>
  • Runs the command using the passed in shell script as the command to run


    Returns Promise<unknown>