Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ShellCommandValue

A value from a shell command.

Hierarchy

  • ShellCommandValue

Implements

Index

Constructors

Properties

Accessors

Constructors

constructor

  • new ShellCommandValue(command: string, cwd: string, trim: boolean, resolvePath: ego_contracts.PathResolver, otherValues: ego_contracts.ValueProvider, name?: string): ShellCommandValue
  • Initializes a new instance of that class.

    Parameters

    • command: string

      The command to execute.

    • cwd: string

      The custom working directory.

    • trim: boolean

      The the result or not.

    • resolvePath: ego_contracts.PathResolver

      The function that resolves a (relative) path.

    • otherValues: ego_contracts.ValueProvider

      Provides the other values.

    • Optional name: string

    Returns ShellCommandValue

Properties

command

command: string

The command to execute.

cwd

cwd: string

The custom working directory.

Optional name

name: string

otherValues

otherValues: ego_contracts.ValueProvider

Provides the other values.

resolvePath

resolvePath: ego_contracts.PathResolver

The function that resolves a (relative) path.

trim

trim: boolean

The the result or not.

Accessors

value

  • get value(): any
  • The value.

    inheritdoc

    Returns any

Generated using TypeDoc