import { Information, isCompiled } from "."; import { jumpboot_version } from "./config"; import chalk from "chalk"; // ----------------------------------------------------- // import * as figlet from "figlet"; const jumpboot_figlet = ` ██╗██╗ ██╗███╗ ███╗██████╗ ██████╗ ██████╗ ██████╗ ████████╗ ██║██║ ██║████╗ ████║██╔══██╗██╔══██╗██╔═══██╗██╔═══██╗╚══██╔══╝ ██║██║ ██║██╔████╔██║██████╔╝██████╔╝██║ ██║██║ ██║ ██║ ██ ██║██║ ██║██║╚██╔╝██║██╔═══╝ ██╔══██╗██║ ██║██║ ██║ ██║ ╚█████╔╝╚██████╔╝██║ ╚═╝ ██║██║ ██████╔╝╚██████╔╝╚██████╔╝ ██║ ╚════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═════╝ ╚═════╝ ╚═════╝ ╚═╝ v${jumpboot_version} `; const banner = () => { if (!isCompiled) { console.log("\x1Bc"); // color reset and clear } // console.log( // chalk.bold.green( // figlet.textSync("JUMPBOOT", { // whitespaceBreak: true, // font: "ANSI Shadow", // horizontalLayout: "default", // verticalLayout: "default", // }) // ) // ); console.log(chalk.bold.green(jumpboot_figlet)); console.log(` ▸ Project Root : ${Information.project_root} ▸ Directory Name : ${Information.project_name} ▸ Home Path : ${Information.path.home} ▸ PC Name : ${Information.computer.name} `); }; // banner(); // single test export default banner;