Skip to content

Documentation / listr2 / SilentRenderer

Class: SilentRenderer

The definition of a ListrRenderer.

See

https://listr2.kilic.dev/renderer/renderer.html

Implements

Constructors

new SilentRenderer(tasks, options)

new SilentRenderer(tasks, options): SilentRenderer

Parameters

tasks: ListrSilentRendererTask[]

options: never

Returns

SilentRenderer

Source

packages/listr2/src/renderer/silent/renderer.ts:9

Properties

nonTTY

static nonTTY: boolean = true

designate whether this renderer can work in non-tty environments

Implementation of

ListrRenderer.nonTTY

Source

packages/listr2/src/renderer/silent/renderer.ts:5


rendererOptions

static rendererOptions: never

designate renderer global options that is specific to the current renderer

Implementation of

ListrRenderer.rendererOptions

Source

packages/listr2/src/renderer/silent/renderer.ts:6


rendererTaskOptions

static rendererTaskOptions: never

designate renderer per task options that is specific to the current renderer

Implementation of

ListrRenderer.rendererTaskOptions

Source

packages/listr2/src/renderer/silent/renderer.ts:7


tasks

tasks: ListrSilentRendererTask[]

Source

packages/listr2/src/renderer/silent/renderer.ts:10


options

options: never

Source

packages/listr2/src/renderer/silent/renderer.ts:11

Methods

render()

render(): void

A function to what to do on render

Returns

void

Implementation of

ListrRenderer.render

Source

packages/listr2/src/renderer/silent/renderer.ts:14


end()

end(): void

A function to what to do on end of the render

Returns

void

Implementation of

ListrRenderer.end

Source

packages/listr2/src/renderer/silent/renderer.ts:18