import chalk from 'chalk' ; function blank ( n ) { return ' ' . repeat ( n ) ; } export function printRuler ( length = 80 ) { console . log ( '─' . repeat ( length ) ) ; } export function logError ( message , indent = 0 ) { console . error ( `${ blank ( indent ) }⚠️ ${ chalk . bold . redBright ( 'Error' ) }: ${ chalk . reset ( message ) }\n` ) ; }