Skip to content

feat: Add "gitbrancher doctor" health check command #1

@livrasand

Description

@livrasand

Implement the gitbrancher doctor command to perform a quick diagnostic of the repository/team environment and configuration.

The command should validate and report:

  • Git configuration status
  • Azure DevOps accessibility
  • Personal Access Token (PAT) validity
  • Branch naming convention compliance

Expected output (example):

✓ Git configured correctly
✓ Azure DevOps accessible
⚠️ PAT expires in 15 days
✗ Branch naming convention not followed in 3 branches

Acceptance Criteria:

  • Clear output without emojis ✓ ⚠️
  • Different exit code if critical errors occur
  • Does not modify repository state (read-only)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions