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()

new SilentRenderer(tasks, options): SilentRenderer

Parameters

tasks: ListrSilentRendererTask[]

options: never

Returns

SilentRenderer

Defined in

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

Defined in

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

Defined in

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

Defined in

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


tasks

tasks: ListrSilentRendererTask[]

Defined in

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


options

options: never

Defined in

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

Defined in

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

Defined in

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