Compare commits
8 Commits
1279ebe57d
...
7302b4bebd
| Author | SHA1 | Date |
|---|---|---|
|
|
7302b4bebd | |
|
|
7d3d51ff4f | |
|
|
4c92e0cc88 | |
|
|
6caca55e43 | |
|
|
2c3285f47e | |
|
|
c46453259f | |
|
|
83ed3a978d | |
|
|
3dd05b0584 |
|
|
@ -32,10 +32,10 @@ Follow the installer prompts, then open your AI IDE (Claude Code, Cursor, Windsu
|
||||||
|
|
||||||
> **Not sure what to do?** Run `/bmad-help` — it tells you exactly what's next and what's optional. You can also ask it questions like:
|
> **Not sure what to do?** Run `/bmad-help` — it tells you exactly what's next and what's optional. You can also ask it questions like:
|
||||||
|
|
||||||
- `/bmad-help How should I build a web app for for my TShirt Business that can scale to millions?`
|
- `/bmad-help How should I build a web app for my TShirt Business that can scale to millions?`
|
||||||
- `/bmad-help I just finished the architecture, I am not sure what to do next`
|
- `/bmad-help I just finished the architecture, I am not sure what to do next`
|
||||||
|
|
||||||
And the amazing this is BMad Help evolves depending on what modules you install also!
|
And the amazing thing is BMad Help evolves depending on what modules you install also!
|
||||||
- `/bmad-help Im interested in really exploring creative ways to demo BMad at work, what do you recommend to help plan a great slide deck and compelling narrative?`, and if you have the Creative Intelligence Suite installed, it will offer you different or complimentary advice than if you just have BMad Method Module installed!
|
- `/bmad-help Im interested in really exploring creative ways to demo BMad at work, what do you recommend to help plan a great slide deck and compelling narrative?`, and if you have the Creative Intelligence Suite installed, it will offer you different or complimentary advice than if you just have BMad Method Module installed!
|
||||||
|
|
||||||
The workflows below show the fastest path to working code. You can also load agents directly for a more structured process, extensive planning, or to learn about agile development practices — the agents guide you with menus, explanations, and elicitation at each step.
|
The workflows below show the fastest path to working code. You can also load agents directly for a more structured process, extensive planning, or to learn about agile development practices — the agents guide you with menus, explanations, and elicitation at each step.
|
||||||
|
|
@ -96,7 +96,7 @@ BMad Method extends with official modules for specialized domains. Modules are a
|
||||||
|
|
||||||
BMad is free for everyone — and always will be. If you'd like to support development:
|
BMad is free for everyone — and always will be. If you'd like to support development:
|
||||||
|
|
||||||
- ⭐ Please click the star project icon at near the top right of this page
|
- ⭐ Please click the star project icon near the top right of this page
|
||||||
- ☕ [Buy Me a Coffee](https://buymeacoffee.com/bmad) — Fuel the development
|
- ☕ [Buy Me a Coffee](https://buymeacoffee.com/bmad) — Fuel the development
|
||||||
- 🏢 Corporate sponsorship — DM on Discord
|
- 🏢 Corporate sponsorship — DM on Discord
|
||||||
- 🎤 Speaking & Media — Available for conferences, podcasts, interviews (BM on Discord)
|
- 🎤 Speaking & Media — Available for conferences, podcasts, interviews (BM on Discord)
|
||||||
|
|
|
||||||
|
|
@ -151,7 +151,7 @@ prompts:
|
||||||
|
|
||||||
## Workflow Customization
|
## Workflow Customization
|
||||||
|
|
||||||
Information about customizing existing BMad MEthod workflows and skills are coming soon.
|
Information about customizing existing BMad Method workflows and skills are coming soon.
|
||||||
|
|
||||||
## Module Customization
|
## Module Customization
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
name: 'step-01-understand'
|
name: 'step-01-understand'
|
||||||
description: 'Analyze the requirement delta between current state and what user wants to build'
|
description: 'Analyze the requirement delta between current state and what user wants to build'
|
||||||
|
|
||||||
workflow_path: '{project-root}/_bmad/bmm/workflows/bmad-quick-flow/create-tech-spec'
|
workflow_path: '{project-root}/_bmad/bmm/workflows/bmad-quick-flow/quick-spec'
|
||||||
nextStepFile: './step-02-investigate.md'
|
nextStepFile: './step-02-investigate.md'
|
||||||
skipToStepFile: './step-03-generate.md'
|
skipToStepFile: './step-03-generate.md'
|
||||||
templateFile: '{workflow_path}/tech-spec-template.md'
|
templateFile: '{workflow_path}/tech-spec-template.md'
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
name: 'step-02-investigate'
|
name: 'step-02-investigate'
|
||||||
description: 'Map technical constraints and anchor points within the codebase'
|
description: 'Map technical constraints and anchor points within the codebase'
|
||||||
|
|
||||||
workflow_path: '{project-root}/_bmad/bmm/workflows/bmad-quick-flow/create-tech-spec'
|
workflow_path: '{project-root}/_bmad/bmm/workflows/bmad-quick-flow/quick-spec'
|
||||||
nextStepFile: './step-03-generate.md'
|
nextStepFile: './step-03-generate.md'
|
||||||
wipFile: '{implementation_artifacts}/tech-spec-wip.md'
|
wipFile: '{implementation_artifacts}/tech-spec-wip.md'
|
||||||
---
|
---
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
name: 'step-03-generate'
|
name: 'step-03-generate'
|
||||||
description: 'Build the implementation plan based on the technical mapping of constraints'
|
description: 'Build the implementation plan based on the technical mapping of constraints'
|
||||||
|
|
||||||
workflow_path: '{project-root}/_bmad/bmm/workflows/bmad-quick-flow/create-tech-spec'
|
workflow_path: '{project-root}/_bmad/bmm/workflows/bmad-quick-flow/quick-spec'
|
||||||
nextStepFile: './step-04-review.md'
|
nextStepFile: './step-04-review.md'
|
||||||
wipFile: '{implementation_artifacts}/tech-spec-wip.md'
|
wipFile: '{implementation_artifacts}/tech-spec-wip.md'
|
||||||
---
|
---
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,10 @@ const ui = new UI();
|
||||||
module.exports = {
|
module.exports = {
|
||||||
command: 'install',
|
command: 'install',
|
||||||
description: 'Install BMAD Core agents and tools',
|
description: 'Install BMAD Core agents and tools',
|
||||||
options: [['-d, --debug', 'Enable debug output for manifest generation']],
|
options: [
|
||||||
|
['-d, --debug', 'Enable debug output for manifest generation'],
|
||||||
|
['-D, --directory <path>', 'Target project directory (skips interactive prompt)'],
|
||||||
|
],
|
||||||
action: async (options) => {
|
action: async (options) => {
|
||||||
try {
|
try {
|
||||||
// Set debug flag as environment variable for all components
|
// Set debug flag as environment variable for all components
|
||||||
|
|
@ -18,7 +21,7 @@ module.exports = {
|
||||||
console.log(chalk.cyan('Debug mode enabled\n'));
|
console.log(chalk.cyan('Debug mode enabled\n'));
|
||||||
}
|
}
|
||||||
|
|
||||||
const config = await ui.promptInstall();
|
const config = await ui.promptInstall(options);
|
||||||
|
|
||||||
// Handle cancel
|
// Handle cancel
|
||||||
if (config.actionType === 'cancel') {
|
if (config.actionType === 'cancel') {
|
||||||
|
|
|
||||||
|
|
@ -26,9 +26,10 @@ const choiceUtils = { Separator };
|
||||||
class UI {
|
class UI {
|
||||||
/**
|
/**
|
||||||
* Prompt for installation configuration
|
* Prompt for installation configuration
|
||||||
|
* @param {Object} options - CLI options object (may contain directory property)
|
||||||
* @returns {Object} Installation configuration
|
* @returns {Object} Installation configuration
|
||||||
*/
|
*/
|
||||||
async promptInstall() {
|
async promptInstall(options = {}) {
|
||||||
CLIUtils.displayLogo();
|
CLIUtils.displayLogo();
|
||||||
|
|
||||||
// Display version-specific start message from install-messages.yaml
|
// Display version-specific start message from install-messages.yaml
|
||||||
|
|
@ -36,7 +37,7 @@ class UI {
|
||||||
const messageLoader = new MessageLoader();
|
const messageLoader = new MessageLoader();
|
||||||
messageLoader.displayStartMessage();
|
messageLoader.displayStartMessage();
|
||||||
|
|
||||||
const confirmedDirectory = await this.getConfirmedDirectory();
|
const confirmedDirectory = await this.getConfirmedDirectory(options);
|
||||||
|
|
||||||
// Preflight: Check for legacy BMAD v4 footprints immediately after getting directory
|
// Preflight: Check for legacy BMAD v4 footprints immediately after getting directory
|
||||||
const { Detector } = require('../installers/lib/core/detector');
|
const { Detector } = require('../installers/lib/core/detector');
|
||||||
|
|
@ -506,9 +507,23 @@ class UI {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get confirmed directory from user
|
* Get confirmed directory from user
|
||||||
|
* @param {Object} options - CLI options object (may contain directory property)
|
||||||
* @returns {string} Confirmed directory path
|
* @returns {string} Confirmed directory path
|
||||||
*/
|
*/
|
||||||
async getConfirmedDirectory() {
|
async getConfirmedDirectory(options = {}) {
|
||||||
|
// If directory provided via CLI, validate and return it
|
||||||
|
if (options.directory) {
|
||||||
|
const expandedPath = this.expandUserPath(options.directory);
|
||||||
|
const validationError = this.validateDirectorySync(expandedPath);
|
||||||
|
if (validationError) {
|
||||||
|
throw new Error(`Invalid directory: ${validationError}`);
|
||||||
|
}
|
||||||
|
await this.displayDirectoryInfo(expandedPath);
|
||||||
|
// Skip confirmation for CLI-provided directories
|
||||||
|
return expandedPath;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Existing interactive prompt logic
|
||||||
let confirmedDirectory = null;
|
let confirmedDirectory = null;
|
||||||
while (!confirmedDirectory) {
|
while (!confirmedDirectory) {
|
||||||
const directoryAnswer = await this.promptForDirectory();
|
const directoryAnswer = await this.promptForDirectory();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue