Skip to content

Report .gitignore creation accurately in vex init output #126

Closed

Description

@LunaStev

Evidence

src/commands/init.rs now creates .gitignore when absent, but the success summary still lists only vex.ws, vex.lock, and the source file. It should not claim to create an existing .gitignore either.

Acceptance criteria

  • Mention .gitignore in the successful summary only when this invocation created it.
  • Clearly indicate an existing ignore file was preserved when useful, without noisy output.
  • Keep binary and --lib output consistent.
  • Add process-level stdout tests for both absent and pre-existing .gitignore.
  • Do not change which files initialization creates.

Activity

  1. added
    enhancement
    good first issue
    ui/ux
    on Sep 22, 2026
  2. self-assigned this
    on Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementgood first issueui/ux

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions