installation intro and outtro custom messages, configurable in install-messages.yaml

This commit is contained in:
Brian Madison
2025-12-23 21:43:29 +08:00
parent c0f5d33c61
commit 4195eb3b30
7 changed files with 153 additions and 98 deletions

View File

@@ -17,7 +17,10 @@ class UI {
async promptInstall() {
CLIUtils.displayLogo();
console.log(chalk.cyan('\nRead the latest updates: https://github.com/bmad-code-org/BMAD-METHOD/blob/main/CHANGELOG.md\n'));
// Display version-specific start message from install-messages.yaml
const { MessageLoader } = require('../installers/lib/message-loader');
const messageLoader = new MessageLoader();
messageLoader.displayStartMessage();
const confirmedDirectory = await this.getConfirmedDirectory();