feat: IMP-13 — add version command with build-time variables

opal version (and opal --version) prints version, commit, and build
date. Values are set via ldflags at build time; defaults to "dev" for
local builds. VERSION file added at 0.1.0.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-19 13:38:25 +01:00
parent f57baee6bc
commit 779da6ddfd
3 changed files with 34 additions and 2 deletions
+1
View File
@@ -0,0 +1 @@
0.1.0