Add a -v / --version flag to mbuddy to display the current version.
This should read the version string from build-time variables (e.g., -X main.version=$(GIT_TAG) during build).
Acceptance Criteria:
Running mbuddy -v or mbuddy --version prints the semantic version.
Version comes from build metadata (not hard-coded).
Works consistently across Linux, Windows, macOS.
Add a
-v/--versionflag to mbuddy to display the current version.This should read the version string from build-time variables (e.g.,
-X main.version=$(GIT_TAG) during build).Acceptance Criteria:
Running
mbuddy -vormbuddy --versionprints the semantic version.Version comes from build metadata (not hard-coded).
Works consistently across Linux, Windows, macOS.