diff --git a/src/common/util/banner.ts b/src/common/util/banner.ts index e532070..d2f8267 100644 --- a/src/common/util/banner.ts +++ b/src/common/util/banner.ts @@ -10,18 +10,23 @@ import * as chalk from 'chalk'; * @type {string} */ export const banner = ` - /| |\\ _ - / / \\ \\ | | - / / \\ \\ | | _______ _____ - / / \\ \\ | | |__ __| | ____| - \`.\`. _______ ,'.' | |___ _ _____ _ _ _ | | |___ - \`.\`.-----,'.' | _ | | | | _ | | | | | | | | | | | - \`.\`..,',' | |_| | | | | |_| | | |_| | | | | | ___| | - \`._,' |_____| |_| |___| | |_____| |_| |_| |_____| - | | - | | - | | - |_|`; + 0 + 00 00000 + 0000 00 0000 + 00000 0000 00000 + 0000 000000 0000 +000 0 000 000 +000 00 000 000 +000 000000 00 000 +000 000 Zeroth 000 000 +000 00 000000 000 +000 000 00 000 +000 000 0 000 + 0000 000000 0000 + 00000 000 00000 + 0000 000 0000 + 00000 00 + 0`; export function bannerBg(message: string = '$ Zeroth Runtime CLI', bgString: string): string { @@ -35,20 +40,26 @@ export function bannerBg(message: string = '$ Zeroth Runtime CLI', bgString: str shortMessage += "*".repeat(38 - shortMessage.length); const template = ` -******************************************************************************** -**** /| ***** |\\ **** _ ******************************************************** -*** / / ***** \\ \\ ** | | ******************************************************* -** / / ******* \\ \\ * | | ************************* _______ _____ *********** -* / / ********* \\ \\ | | ************************* |__ __| | ____| *********** -* \`.\`. _______ ,'.' | |___ _ _____ _ _ _ | | ***|___ *********** -*** \`.\`.-----,'.' ** | _ | | | | _ | | | | | | | | | *******| | *********** -***** \`.\`..,',' **** | |_| | | | | |_| | | |_| | | | | | ****___| | *********** -******* \`._,' ****** |_____| |_| |___| | |_____| |_| |_| ** |_____| *********** -********* *********************** | | *************************************** -************************************ | | *************************************** -************************************ | | *${shortMessage} -************************************ |_| *************************************** -******************************************************************************** +************************************** ************************************** +********************************* 0 ********************************* +****************************** 00 00000 ***************************** +************************** 0000 00 0000 ************************* +*********************** 00000 0000 00000 ********************** +*********************** 0000 000000 0000 ********************* +********************** 000 0 000 000 ********************* +********************** 000 00 000 000 ********************* +********************** 000 000000 00 000 ********************* +********************** 000 000 Zeroth 000 000 ********************* +********************** 000 00 000000 000 ********************* +********************** 000 000 00 000 ********************* +********************** 000 000 0 000 ********************* +*********************** 0000 000000 0000 ********************** +*********************** 00000 000 00000 ********************** +************************** 0000 000 0000 ************************* +****************************** 00000 00 ***************************** +********************************** 0 ******************************** +*************************************** ************************************* +******************************************************************************* ${longMessage}`; const minReplacementLength = template.match(/\*+/g) @@ -57,7 +68,9 @@ ${longMessage}`; bgString = bgString.repeat(minReplacementLength / bgString.length + 1); } - return template.replace(/\*+/g, (match: string) => { + return template + .replace(/0/g, '\u2b21') + .replace(/\*+/g, (match: string) => { const replacement: string = bgString.substr(0, match.length); bgString = bgString.substr(match.length);