BMAD-METHOD/tools/cli/lib
Vladimir Hrusovsky 22601f8198
feat: add non-interactive installation support (#1520)
* feat: add non-interactive installation support

Add command-line flags to support non-interactive installation for CI/CD
pipelines and automated deployments:

- --directory: Installation directory
- --modules: Comma-separated module IDs
- --tools: Tool/IDE IDs (use "none" to skip)
- --custom-content: Custom module paths
- --action: Action type for existing installations
- --user-name, --communication-language, --document-output-language, --output-folder: Core config
- -y, --yes: Accept all defaults

When flags are provided, prompts are skipped. Missing values gracefully
fall back to interactive prompts.

* fix: complete non-interactive installation support

- Fix validation checks using truthy instead of !== true
- Add skipPrompts flag to skip module config prompts with --yes
- Add getDefaultModules() for automatic module selection with --yes
- Fix IDE selection to use array check instead of length check

Co-Authored-By: AiderDesk <https://github.com/hotovo/aider-desk>

---------

Co-authored-by: Brian <bmadcode@gmail.com>
2026-02-05 19:13:11 -06:00
..
agent fix(installer): Multiple installer fixes (#1492) 2026-02-03 17:36:54 -06:00
activation-builder.js fix: HELP_STEP placeholder not replaced in compiled agents, fix hardcoded path, fix single quote in HELP_STEP (#1437) 2026-01-29 05:58:56 -08:00
agent-analyzer.js feat: add documentation website with Docusaurus build pipeline (#1177) 2025-12-23 23:01:36 +08:00
agent-party-generator.js feat: add documentation website with Docusaurus build pipeline (#1177) 2025-12-23 23:01:36 +08:00
cli-utils.js custom install module cached 2025-12-07 20:46:09 -06:00
config.js we only need one yaml lib 2025-12-13 18:35:07 +08:00
file-ops.js feat: add documentation website with Docusaurus build pipeline (#1177) 2025-12-23 23:01:36 +08:00
platform-codes.js docs: radical reduction of documentation scope for v6 beta (#1406) 2026-01-25 14:00:26 -06:00
project-root.js Project Cleanup of Agents Menus, BMB module removal to other repo 2026-01-19 02:04:14 -06:00
prompts.js feat: Update @clack/prompts to v1.0.0 and Add autocompleteMultiselect prompt (#1514) 2026-02-03 17:39:05 -06:00
ui.js feat: add non-interactive installation support (#1520) 2026-02-05 19:13:11 -06:00
xml-handler.js feat: add documentation website with Docusaurus build pipeline (#1177) 2025-12-23 23:01:36 +08:00
xml-to-markdown.js feat: v6.0.0-alpha.0 - the future is now 2025-09-28 23:17:07 -05:00
yaml-format.js we only need one yaml lib 2025-12-13 18:35:07 +08:00
yaml-xml-builder.js Project Cleanup of Agents Menus, BMB module removal to other repo 2026-01-19 02:04:14 -06:00