patch-pulse
Version:
Check for outdated npm dependencies
17 lines (16 loc) • 693 B
JavaScript
import chalk from 'chalk';
import { VERSION } from '../../gen/version.gen.js';
import { createCenteredBox } from '../createCenteredBox.js';
import { displayMadeWithLove } from './madeWithLove.js';
/**
* Displays the version information
*/
export function displayVersion() {
console.log(`${createCenteredBox('Patch Pulse CLI', 40)}
${chalk.cyan.bold('Version:')} ${chalk.white(VERSION)}
${chalk.cyan.bold('Author:')} ${chalk.underline('<https://github.com/barrymichaeldoyle>')}
${chalk.cyan.bold('Repo:')} ${chalk.white('https://github.com/PatchPulse/cli')}
${chalk.cyan.bold('License:')} ${chalk.white('MIT')}`);
displayMadeWithLove();
}
//# sourceMappingURL=version.js.map