summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-10 09:44:33 +0300
committerPaul Buetow <paul@buetow.org>2026-04-10 09:44:33 +0300
commit53ad6846aa7506b621cd38f4933442379638a01d (patch)
tree6509f105521c3506d9809c45313c069ff544bf37 /internal
parent011dbec6252d5180d7dd6dde5872208128c40c18 (diff)
Add internal version package and -version CLI flag
Introduce Version constant (0.0.1) in internal/version.go and wire -version/-v in cmd/snonux to print it and exit successfully. Made-with: Cursor
Diffstat (limited to 'internal')
-rw-r--r--internal/version.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/version.go b/internal/version.go
new file mode 100644
index 0000000..382eaac
--- /dev/null
+++ b/internal/version.go
@@ -0,0 +1,5 @@
+// Package version holds release metadata for the snonux binary.
+package version
+
+// Version is the application version (semantic versioning).
+const Version = "0.0.1"