UNPKG

@simbo/cli-output

Version:

A collection of utilities for common CLI messages and output.

9 lines (8 loc) 330 B
/** * A horizontal line to be displayed in the console. * Uses "─" (U+2500, "BOX_DRAWINGS_LIGHT_HORIZONTAL") character for the line. * * @param maxWidth - The maximum width of the line. Defaults to 80. Limited by `stdout.columns`. * @returns The formatted line. */ export declare function line(maxWidth?: number): string;