style
style(
text, …styles):string
Defined in: utils/output-formatter.ts:69
Format text with multiple styles.
Parameters
Section titled “Parameters”string
styles
Section titled “styles”…("bold" | "reset" | "dim" | "black" | "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "bgBlack" | "bgRed" | "bgGreen" | "bgYellow" | "bgBlue" | "bgMagenta" | "bgCyan" | "bgWhite")[]
Returns
Section titled “Returns”string