fix: add default current directory to installer prompt (#444)

Previously users had to manually type the full path or run pwd to get
the current directory when installing BMad. Now the installer prefills
the current working directory as the default, improving UX.

Co-authored-by: its-brianwithai <brian@ultrawideturbodev.com>
This commit is contained in:
Brian, with AI
2025-08-17 05:08:06 +02:00
committed by GitHub
parent 6e2fbc6710
commit 335e1da271

View File

@@ -216,6 +216,7 @@ async function promptInstallation() {
type: 'input',
name: 'directory',
message: 'Enter the full path to your project directory where BMad should be installed:',
default: process.cwd(),
validate: (input) => {
if (!input.trim()) {
return 'Please enter a valid project path';