Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Listr<Ctx, Renderer, FallbackRenderer>

Creates a new set of Listr2 task list.

Type parameters

Hierarchy

  • Listr

Index

Constructors

Properties

ctx: Ctx
err: ListrError<Ctx>[]
options?: ListrBaseClassOptions<Ctx, Renderer, FallbackRenderer>
parentTask?: Task<any, any>
path: string[]
renderHook$: Subject<void>
rendererClass: typeof ListrRenderer
rendererClassOptions: Record<PropertyKey, any>
tasks: Task<Ctx, ListrGetRendererClassFromValue<Renderer>>[]

Methods

  • run(context?: Ctx): Promise<Ctx>
  • Parameters

    • Optional context: Ctx

    Returns Promise<Ctx>