Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Context

Task Context definition.

Hierarchy

Index

Properties

args: string[]

A task's arguments. Used for spawned processes.

cancellation: Promise<void>

A Promise representing a task's cancellation token. Tasks should cancel when it resolves.

cwd: string

A task's working directory. Used as root for paths in file operations and for spawned processes.

env: Dictionary<undefined | string>

A task's evironment variables. Used for spawned processes.

level: LogLevel

A task's log level.

prefix: boolean | PrefixPolicy

Whether a task will prefix all lines of its stdout and stderr writes with the stringification of its route.

route: string[]

A task's route.

stdio: Stdio

A task's stdin, stdout and stderr.

Generated using TypeDoc