Skip to content

feat: Add command line flag for non-interactive BMM project knowledge directory selection #1663

@wsmoak

Description

@wsmoak

Description

When installing with --modules bmm --yes, the long-term project knowledge location always defaults to docs in non-interactive mode.
There is currently no CLI flag to override this value.

In interactive mode, this is configurable via the prompt:

  • Where should long-term project knowledge be stored? (docs, research, references)

A new CLI flag (for example, --project-knowledge <path>) would allow setting this explicitly during unattended installs.

Example usage

npx bmad-method install \
  --directory /path/to/project \
  --modules bmm \
  --tools codex \
  --project-knowledge research \
  --yes

Concerns

Should it be --bmm-project-knowledge since this is specific to the BMM module? Do we have a pattern for this when modules want to accept command-line flags?

Relevant code

  • module.yaml (project_knowledge default is docs)
  • install.js (add CLI option definition)
  • ui.js (map CLI option into collected config)
  • non-interactive-installation.md (document new flag)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgood-first-issueGood for newcomers - small, well-scoped

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions