@coat/cli
Version:
TODO: See #3
10 lines (9 loc) • 352 B
TypeScript
/**
* Fills the last line until the specified width is reached
* to align strings to the same length.
* (e.g. to have boxes around text that have the same size)
*
* @param input The string that should be aligned
* @param width The total width that should be reached
*/
export declare function fillLastLine(input: string, width: number): string;