UNPKG

@saiforceone/dirt-cli

Version:

Official CLI Utility for the D.I.R.T stack

32 lines (28 loc) 797 B
import chalk from 'chalk'; import gradient from 'gradient-string'; const asciiDirt = ` ______ ___________ _____ _____ _ _____ | _ \\_ _| ___ \\_ _| / __ \\| | |_ _| | | | | | | | |_/ / | | | / \\/| | | | | | | | | | | / | | | | | | | | | |/ / _| |_| |\\ \\ | | | \\__/\\| |_____| |_ |___/ \\___/\\_| \\_| \\_/ \\____/\\_____/\\___/ `; /** * @description Prints out a dirt stack welcome message */ export function preScaffold() { console.log(` ${gradient.pastel(asciiDirt)} ${chalk.green("Let's get D.I.R.T-y...")}\n Before we can scaffold your project, we have a few questions `); } /** * @description Prints out a standard welcome message */ export function advCommandStart() { console.log(` ${gradient.pastel(asciiDirt)} `); }