Skip to content

Make logs/ entry in .gitignore optional #372

@asmacdo

Description

@asmacdo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions