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:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user