Add --version flag and log version on startup #9
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The
versionvariable is set via ldflags at build time but never exposed to users.Fix
--versionflag that prints version and exitslog.Printf("review-bot %s", version)