babs init adds logs/ to the project's .gitignore unconditionally.
My first instinct was to let the user supply their own .gitignore, but that doesn't compose: babs appends entries throughout init, so a user-provided file would lose those appends. Cleaner interface is a single flag for just this one line:
- Default unchanged (add
logs/ to .gitignore)
- New flag
--no-ignore-logs to skip that entry
- Or better:
--no-ignore logs so this can be extended to other optional gitignore appending.
Scope: just the logs/ entry. Other babs-appended .gitignore entries stay as-is.
babs init adds
logs/to the project's.gitignoreunconditionally.My first instinct was to let the user supply their own
.gitignore, but that doesn't compose: babs appends entries throughout init, so a user-provided file would lose those appends. Cleaner interface is a single flag for just this one line:logs/to.gitignore)--no-ignore-logsto skip that entry--no-ignore logsso this can be extended to other optional gitignore appending.Scope: just the
logs/entry. Other babs-appended.gitignoreentries stay as-is.