rn-app-icon-generator
Version:
A CLI tool to generate iOS and Android app icons for React Native from a single 1024x1024 PNG image.
30 lines (27 loc) • 1.07 kB
JavaScript
import chalk from "chalk";
/**
* Prints a styled header to the console using chalk for color and formatting.
* This is shown at the start of the CLI tool.
*/
export function printHeader() {
console.log(
chalk.cyan.bold(`
╭────────────────────────────────────────╮
│ 🚀 React Native App Icon Generator │
╰────────────────────────────────────────╯
`)
);
}
/**
* Prints a styled footer to the console using chalk for color and formatting.
* This is shown at the end of the CLI tool.
*/
export function printFooter() {
console.log(
chalk.cyan.bold(`
╭──────────────────────────────────────────╮
│ Thanks for using the Icon Generator! │
╰──────────────────────────────────────────╯
`)
);
}