Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ShellCommandValue

A value from a shell command.

Hierarchy

  • ShellCommandValue

Implements

Index

Constructors

Properties

Accessors

Constructors

constructor

  • 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: PathResolver

      The function that resolves a (relative) path.

    • otherValues: ValueProvider

      Provides the other values.

    • Optional name: string

    Returns ShellCommandValue

Properties

Readonly command

command: string

Readonly cwd

cwd: string

Optional Readonly name

name: string

The name of the value (if available).

Readonly otherValues

otherValues: ValueProvider

Readonly resolvePath

resolvePath: PathResolver

Readonly trim

trim: boolean

Accessors

value

  • get value(): any

Generated using TypeDoc