doc and text cleanup
This commit is contained in:
@@ -220,7 +220,7 @@ class Installer {
|
||||
});
|
||||
|
||||
if (files.length > 0) {
|
||||
// Directory has other files, but no BMAD installation.
|
||||
// Directory has other files, but no BMad installation.
|
||||
// Treat as clean install but record that it isn't empty.
|
||||
state.hasOtherFiles = true;
|
||||
}
|
||||
@@ -235,7 +235,7 @@ class Installer {
|
||||
async performFreshInstall(config, installDir, spinner, options = {}) {
|
||||
// Ensure modules are initialized
|
||||
await initializeModules();
|
||||
spinner.text = "Installing BMAD Method...";
|
||||
spinner.text = "Installing BMad Method...";
|
||||
|
||||
let files = [];
|
||||
|
||||
@@ -396,7 +396,7 @@ class Installer {
|
||||
const newVersion = await this.getCoreVersion();
|
||||
const versionCompare = this.compareVersions(currentVersion, newVersion);
|
||||
|
||||
console.log(chalk.yellow("\n🔍 Found existing BMAD v4 installation"));
|
||||
console.log(chalk.yellow("\n🔍 Found existing BMad v4 installation"));
|
||||
console.log(` Directory: ${installDir}`);
|
||||
console.log(` Current version: ${currentVersion}`);
|
||||
console.log(` Available version: ${newVersion}`);
|
||||
@@ -446,8 +446,8 @@ class Installer {
|
||||
let choices = [];
|
||||
|
||||
if (versionCompare < 0) {
|
||||
console.log(chalk.cyan("\n⬆️ Upgrade available for BMAD core"));
|
||||
choices.push({ name: `Upgrade BMAD core (v${currentVersion} → v${newVersion})`, value: "upgrade" });
|
||||
console.log(chalk.cyan("\n⬆️ Upgrade available for BMad core"));
|
||||
choices.push({ name: `Upgrade BMad core (v${currentVersion} → v${newVersion})`, value: "upgrade" });
|
||||
} else if (versionCompare === 0) {
|
||||
if (hasIntegrityIssues) {
|
||||
// Offer repair option when files are missing or modified
|
||||
@@ -457,10 +457,10 @@ class Installer {
|
||||
});
|
||||
}
|
||||
console.log(chalk.yellow("\n⚠️ Same version already installed"));
|
||||
choices.push({ name: `Force reinstall BMAD core (v${currentVersion} - reinstall)`, value: "reinstall" });
|
||||
choices.push({ name: `Force reinstall BMad core (v${currentVersion} - reinstall)`, value: "reinstall" });
|
||||
} else {
|
||||
console.log(chalk.yellow("\n⬇️ Installed version is newer than available"));
|
||||
choices.push({ name: `Downgrade BMAD core (v${currentVersion} → v${newVersion})`, value: "reinstall" });
|
||||
choices.push({ name: `Downgrade BMad core (v${currentVersion} → v${newVersion})`, value: "reinstall" });
|
||||
}
|
||||
|
||||
choices.push(
|
||||
@@ -535,7 +535,7 @@ class Installer {
|
||||
spinner.stop();
|
||||
|
||||
console.log(
|
||||
chalk.yellow("\n🔍 Found BMAD v3 installation (bmad-agent/ directory)")
|
||||
chalk.yellow("\n🔍 Found BMad v3 installation (bmad-agent/ directory)")
|
||||
);
|
||||
console.log(` Directory: ${installDir}`);
|
||||
|
||||
@@ -768,7 +768,7 @@ class Installer {
|
||||
}
|
||||
|
||||
async performReinstall(config, installDir, spinner) {
|
||||
spinner.start("Preparing to reinstall BMAD Method...");
|
||||
spinner.start("Preparing to reinstall BMad Method...");
|
||||
|
||||
// Remove existing .bmad-core
|
||||
const bmadCorePath = path.join(installDir, ".bmad-core");
|
||||
@@ -782,7 +782,7 @@ class Installer {
|
||||
}
|
||||
|
||||
showSuccessMessage(config, installDir, options = {}) {
|
||||
console.log(chalk.green("\n✓ BMAD Method installed successfully!\n"));
|
||||
console.log(chalk.green("\n✓ BMad Method installed successfully!\n"));
|
||||
|
||||
const ides = config.ides || (config.ide ? [config.ide] : []);
|
||||
if (ides.length > 0) {
|
||||
@@ -790,7 +790,7 @@ class Installer {
|
||||
const ideConfig = configLoader.getIdeConfiguration(ide);
|
||||
if (ideConfig?.instructions) {
|
||||
console.log(
|
||||
chalk.bold(`To use BMAD agents in ${ideConfig.name}:`)
|
||||
chalk.bold(`To use BMad agents in ${ideConfig.name}:`)
|
||||
);
|
||||
console.log(ideConfig.instructions);
|
||||
}
|
||||
@@ -879,7 +879,7 @@ class Installer {
|
||||
};
|
||||
return await this.install(config);
|
||||
}
|
||||
console.log(chalk.red("No BMAD installation found."));
|
||||
console.log(chalk.red("No BMad installation found."));
|
||||
}
|
||||
|
||||
async listAgents() {
|
||||
@@ -887,7 +887,7 @@ class Installer {
|
||||
await initializeModules();
|
||||
const agents = await configLoader.getAvailableAgents();
|
||||
|
||||
console.log(chalk.bold("\nAvailable BMAD Agents:\n"));
|
||||
console.log(chalk.bold("\nAvailable BMad Agents:\n"));
|
||||
|
||||
for (const agent of agents) {
|
||||
console.log(chalk.cyan(` ${agent.id.padEnd(20)}`), agent.description);
|
||||
@@ -903,7 +903,7 @@ class Installer {
|
||||
await initializeModules();
|
||||
const expansionPacks = await this.getAvailableExpansionPacks();
|
||||
|
||||
console.log(chalk.bold("\nAvailable BMAD Expansion Packs:\n"));
|
||||
console.log(chalk.bold("\nAvailable BMad Expansion Packs:\n"));
|
||||
|
||||
if (expansionPacks.length === 0) {
|
||||
console.log(chalk.yellow("No expansion packs found."));
|
||||
@@ -932,7 +932,7 @@ class Installer {
|
||||
|
||||
if (!installDir) {
|
||||
console.log(
|
||||
chalk.yellow("No BMAD installation found in current directory tree")
|
||||
chalk.yellow("No BMad installation found in current directory tree")
|
||||
);
|
||||
return;
|
||||
}
|
||||
@@ -944,7 +944,7 @@ class Installer {
|
||||
return;
|
||||
}
|
||||
|
||||
console.log(chalk.bold("\nBMAD Installation Status:\n"));
|
||||
console.log(chalk.bold("\nBMad Installation Status:\n"));
|
||||
console.log(` Directory: ${installDir}`);
|
||||
console.log(` Version: ${manifest.version}`);
|
||||
console.log(
|
||||
@@ -1399,7 +1399,7 @@ class Installer {
|
||||
await initializeModules();
|
||||
|
||||
try {
|
||||
// Find the dist directory in the BMAD installation
|
||||
// Find the dist directory in the BMad installation
|
||||
const distDir = configLoader.getDistPath();
|
||||
|
||||
if (!(await fileManager.pathExists(distDir))) {
|
||||
|
||||
Reference in New Issue
Block a user