UNPKG

ryuu

Version:

Domo App Dev Studio CLI, The main tool used to create, edit, and publish app designs to Domo

36 lines 1.32 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getRainbowLogo = exports.logo = exports.constant = void 0; var constant; (function (constant) { constant["CLIENT_ID"] = "domo:internal:devstudio"; constant["THUMBNAIL_CREATE_WARNING"] = "A thumbnail is required before creating a card with this design. This is used to represent the App in the mobile application and the Appstore experience."; constant["CREATE_THUMBNAIL"] = "Place a 300x300 image named thumbnail.png in the base directory of your design."; })(constant || (exports.constant = constant = {})); const chalk = require('chalk'); exports.logo = ` ____ / __ \\____ ____ ___ ____ / / / / __ \\/ __ \`__ \\/ __ \\ / /_/ / /_/ / / / / / / /_/ / /_____/\\____/_/ /_/ /_/\\____/ `; const getRainbowLogo = () => { const lines = exports.logo.split('\n'); const colors = [ chalk.red, chalk.yellow, chalk.green, chalk.cyan, chalk.blue, chalk.magenta, ]; return lines .map((line, index) => { const color = colors[index % colors.length]; return color(line); }) .join('\n'); }; exports.getRainbowLogo = getRainbowLogo; //# sourceMappingURL=constant.js.map