BMAD-METHOD/tools
circus 4a302e3400 fix: remove incorrect else branch causing flatten command regression
This fixes a regression bug where the flatten command would fail with an
error message even when valid arguments were provided.

The bug was:
- First introduced in commit 0fdbca7
- Fixed in commit fab9d5e (v5.0.0-beta.2)
- Accidentally reintroduced in commit ed53943

The else branch at lines 130-134 was incorrectly handling the case when
users provided arguments, showing a misleading error about
'no arguments provided' when arguments were actually present.

Fixes all flatten command variations:
- npx bmad-method flatten
- npx bmad-method flatten --input /path
- npx bmad-method flatten --output file.xml
- npx bmad-method flatten --input /path --output file.xml
2025-08-17 17:45:22 +08:00
..
builders fix: build web bundles with new file extension includsion 2025-07-06 19:39:34 -05:00
flattener fix: remove incorrect else branch causing flatten command regression 2025-08-17 17:45:22 +08:00
installer chore(release): 4.36.1 [skip ci] 2025-08-09 20:49:42 +00:00
lib fix: build web bundles with new file extension includsion 2025-07-06 19:39:34 -05:00
md-assets web build optimization 2025-07-06 10:32:39 -05:00
shared feat: modularize flattener tool into separate components with improved project root detection (#417) 2025-08-09 15:33:23 -05:00
upgraders refactor: nest Claude Code commands under BMad subdirectory (#307) 2025-07-12 10:02:46 -05:00
bmad-npx-wrapper.js eat: enhance flattener tool with improved CLI integration and custom directory support (#372) 2025-07-27 18:02:08 -05:00
bump-all-versions.js version alignment 2025-07-19 00:04:16 -05:00
bump-expansion-version.js chore(tools): clean up and refactor bump scripts for clarity and consistency (#325) 2025-07-17 20:09:09 -05:00
cli.js fix: npx hanging commands 2025-08-05 22:22:04 -05:00
semantic-release-sync-installer.js chore(tools): clean up and refactor bump scripts for clarity and consistency (#325) 2025-07-17 20:09:09 -05:00
sync-installer-version.js feat: improve semantic-release automation and disable manual version bumping 2025-06-15 14:16:01 -05:00
update-expansion-version.js fix: standardize on file extension .yaml instead of a mix of yml and yaml 2025-07-02 19:59:49 -05:00
version-bump.js doc and text cleanup 2025-07-04 07:47:57 -05:00
yaml-format.js doc and text cleanup 2025-07-04 07:47:57 -05:00