BMAD-METHOD/tools/cli/installers/lib/core
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
..
config-collector.js feat: add non-interactive installation support (#1520) 2026-02-05 19:13:11 -06:00
custom-module-cache.js default accepted for installer quesitons 2025-12-15 12:55:57 +08:00
dependency-resolver.js fix(installer): Multiple installer fixes (#1492) 2026-02-03 17:36:54 -06:00
detector.js v4 detection cleanup 2025-12-27 20:31:12 +08:00
ide-config-manager.js default accepted for installer quesitons 2025-12-15 12:55:57 +08:00
installer.js feat: add non-interactive installation support (#1520) 2026-02-05 19:13:11 -06:00
manifest-generator.js trivariate workflows added 2026-02-04 21:34:47 -06:00
manifest.js fix custom module instalation 2026-01-28 22:55:54 -08:00