class DefaultPrinterService
implements PrinterService
new
DefaultPrinterService(stdoutWritableStream: WritableStream,stderrWritableStream: WritableStream,stdoutIsColor: boolean,stderrIsColor: boolean,stderrTerminal: Terminal,styler: Styler,)
writeonly
colorEnabled: boolean
writeonly
darkMode: boolean
readonly
colorEnabled: boolean
readonly
darkMode: boolean
readonly
stderrWritable: WritableStream
readonly
stdoutWritable: WritableStream
blue(message: string): string
color(message: string,hexFormattedColor: string,): string
cyan(message: string): string
emphasised(message: string): string
green(message: string): string
hideAllProgressBars(): Promise<void>
hideProgressBar(handle: number): Promise<void>
hideSpinner(): Promise<void>
italic(message: string): string
magenta(message: string): string
orange(message: string): string
primary(message: string): string
red(message: string): string
secondary(message: string): string
selected(message: string): string
showProgressBar(units: string,message?: string,total?: number,current?: number,): Promise<number>
showSpinner(message?: string): Promise<void>
updateProgressBar(handle: number,current: number,message?: string,): void
violet(message: string): string
yellow(message: string): string