Add --version flag and log version on startup #9

Closed
opened 2026-05-01 19:23:37 +00:00 by rodin · 0 comments
Owner

Problem

The version variable is set via ldflags at build time but never exposed to users.

Fix

  • Add --version flag that prints version and exits
  • Log the version on startup: log.Printf("review-bot %s", version)
## Problem The `version` variable is set via ldflags at build time but never exposed to users. ## Fix - Add `--version` flag that prints version and exits - Log the version on startup: `log.Printf("review-bot %s", version)`
rodin referenced this issue from a commit 2026-05-01 21:19:38 +00:00
rodin closed this issue 2026-05-01 21:30:58 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rodin/review-bot#9