UNPKG

@unito/integration-cli

Version:

Integration CLI

38 lines (37 loc) 1.4 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); const core_1 = require("@oclif/core"); const gradient = tslib_1.__importStar(require("gradient-string")); const displayLogo = async function () { const gradients = [ gradient.atlas, gradient.mind, gradient.morning, gradient.passion, gradient.fruit, gradient.instagram, gradient.retro, gradient.teen, gradient.pastel, gradient.rainbow, gradient.cristal, ]; const selectedGradient = gradients[Math.floor(Math.random() * gradients.length)]; const UNITOCLI_LOGO = selectedGradient.multiline([ '+------------------------------------+', '| |', '| / / / /___ (_) /_____ |', '| / / / / __ \\/ / __/ __ \\ |', '| / /_/ / / / / / /_/ /_/ / |', '| \\____/_/_/_/_/\\__/\\____/ |', '| / ____/ / / _/ |', '| / / / / / / |', '| / /___/ /____/ / |', '| \\____/_____/___/ |', '| |', '+------------------------------------+', ].join('\n')); core_1.ux.log(UNITOCLI_LOGO); }; exports.default = displayLogo;