feat: v6.0.0-alpha.0 - the future is now

This commit is contained in:
Brian Madison
2025-09-28 23:17:07 -05:00
parent 52f6889089
commit 0a6a3f3015
747 changed files with 52759 additions and 235199 deletions

View File

@@ -0,0 +1,28 @@
const chalk = require('chalk');
const { Installer } = require('../installers/lib/core/installer');
const installer = new Installer();
module.exports = {
command: 'update',
description: 'Update existing BMAD installation',
options: [
['-d, --directory <path>', 'Installation directory', '.'],
['--force', 'Force update, overwriting modified files'],
['--dry-run', 'Show what would be updated without making changes'],
],
action: async (options) => {
try {
await installer.update({
directory: options.directory,
force: options.force,
dryRun: options.dryRun,
});
console.log(chalk.green('\n✨ Update complete!'));
process.exit(0);
} catch (error) {
console.error(chalk.red('Update failed:'), error.message);
process.exit(1);
}
},
};