Skip to content

Commit a234a2a

Browse files
committed
docs: clarify Angular CLI --no-X flag handling in CLAUDE.md
1 parent 1d40b9f commit a234a2a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

CLAUDE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,11 +167,11 @@ The engine appends CI metadata to commit messages when running on:
167167

168168
### Option Name Mapping
169169

170-
**CRITICAL:** Angular CLI does NOT rename kebab-case to camelCase for boolean flags with "no" prefix. The engine handles this mapping:
170+
**CRITICAL:** Angular CLI passes `--no-X` flags as `noX: true`, NOT as `X: false`. The engine must manually invert these:
171171

172-
- CLI: `--no-dotfiles`Code: `noDotfiles`Internal: `dotfiles: false`
173-
- CLI: `--no-notfound`Code: `noNotfound`Internal: `notfound: false`
174-
- CLI: `--no-nojekyll`Code: `noNojekyll`Internal: `nojekyll: false`
172+
- `--no-dotfiles`Angular passes `{ noDotfiles: true }`Engine converts to `{ dotfiles: false }`
173+
- `--no-notfound`Angular passes `{ noNotfound: true }`Engine converts to `{ notfound: false }`
174+
- `--no-nojekyll`Angular passes `{ noNojekyll: true }`Engine converts to `{ nojekyll: false }`
175175

176176
## Important Conventions
177177

0 commit comments

Comments
 (0)