Documentation / listr2 / ListrDefaultRendererTaskOptions
Interface: ListrDefaultRendererTaskOptions
Defined in: packages/listr2/src/renderer/default/renderer.interface.ts:151
Extends
Properties
timer?
optionaltimer:PresetTimer
Defined in: packages/listr2/src/presets/timer/preset.interface.ts:9
Show duration for the tasks.
Inherited from
outputBar?
optionaloutputBar:number|boolean
Defined in: packages/listr2/src/renderer/default/renderer.interface.ts:162
Write task output to the output bar under the title.
trueonly keep the last line.Infinitywill keep all the lines.numberwill keep the defined amount of lines.falsewill not render output with this method.
Default Value
true
bottomBar?
optionalbottomBar:number|boolean
Defined in: packages/listr2/src/renderer/default/renderer.interface.ts:176
Write task output to the bottom bar instead of the gap under the task title itself. This can be useful for stream of data coming in and is the default mode for tasks without a title.
This will take precedence over the outputBar option, if explicitly set.
trueonly keep the last line.Infinitywill keep all the lines.numberwill keep the defined amount of lines.falsewill not render output with this method.
Default Value
false
persistentOutput?
optionalpersistentOutput:boolean
Defined in: packages/listr2/src/renderer/default/renderer.interface.ts:184
Keep output of the task after task finishes.
- This can be enabled for both normal task output under the title and bottom bar.
Default Value
false