import chalk from 'chalk'; export const TEXT = { installApp: { path: 'Set the path to the application:', lang: 'Set language:', openDevModuleCommand: 'Set open dev module command (the {{path}} variable is available):', }, init: { missingByName: (name: string) => `Missing config: ${io.libs.chalk.hex(io.constants.COLORS.yellow).bold(name)}`, missing: 'Missing configs', choiceConfig: 'Select a config:', confirmOverwrite: 'The config already exists, should I overwrite it?', errorInit: (message: string) => `The config could not be set\n\n${message}`, success: (name: string) => `The configuration: ${io.libs.chalk.hex(io.constants.COLORS.green).bold(name)} has been successfully installed`, }, save: { missingLocalConfig: () => `Missing local config`, confirmOverwrite: (name: string) => `The config: ${io.libs.chalk.hex(io.constants.COLORS.yellow).bold(name)} already exists, should I overwrite it?`, inputName: 'Enter a name', successSaving: (name: string) => `The config: ${io.libs.chalk.hex(io.constants.COLORS.green).bold(name)} is saved`, }, module: { new: { confirmOverwrite: (name: string) => `The module: ${io.libs.chalk.hex(io.constants.COLORS.yellow).bold(name)} already exists, should I overwrite it?`, inputName: 'Enter a module name', successSaving: (name: string) => `The module: ${io.libs.chalk.hex(io.constants.COLORS.green).bold(name)} is saved`, }, list: { choiceType: ['Installed Modules', 'Your Modules', chalk.bold.cyan('Exit')] as [string, string, string], choiceInstalledOption: ['Mod', 'Update', 'Uninstall'] as [string, string, string], choiceDevOption: ['Open', 'Delete'] as [string, string], // choiceModuleType: 'Choice modules type', choiceModule: 'Choice module', choiceOption: 'Choice option', confirmDelete: 'Confirm delete', choiceMod: 'Select the module mod', }, }, };