Optional
enabledEnable a task depending on the context.
Optional
exitDetermine the default behavior of exiting on errors for this attached task.
Optional
fallbackRenderer options depending on the fallback renderer.
Optional
rendererRenderer options depending on the current renderer.
Optional
retryRetries a task with the given amounts whenever a task fails.
Optional
delay?: numberOptional
rollbackThe callback function that you provide will run whenever the attached task fails and give you the ability to revert your changes, before failing.
Optional
skipSkip this task depending on the context.
The task itself in the form of a Function
, Promise
, Listr
, Observable
or Stream
.
Optional
titleTitle of the task.
Give this task a title to enchance it on the preferred renderer.
Defines the task, conditions and options to run a specific task in the Listr. This defines the external API for the task where TaskWrapper is used internally.
See
https://listr2.kilic.dev/task/task.html