summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin.chausse@goto.com>2025-03-26 17:21:12 -0400
committerBenjamin Chausse <benjamin.chausse@goto.com>2025-03-26 17:21:12 -0400
commit091c845c79b0aaf031e2fbbeaa91edb45d8d0272 (patch)
tree1f652e7951911f875ae2e218b29bd1a2a778d542 /main.go
parentee994af6151654045e9a2543e360d2554fc4f851 (diff)
De-bloat + goreleaser packages manpage
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.go b/main.go
index 4fdb35e..c187ce8 100644
--- a/main.go
+++ b/main.go
@@ -9,8 +9,10 @@ import (
"github.com/ChausseBenjamin/termpicker/internal/util"
)
+var version = "compiled"
+
func main() {
- app := app.Command()
+ app := app.Command(version)
if err := app.Run(context.Background(), os.Args); err != nil {
slog.Error("Program crashed", util.ErrKey, err.Error())
os.Exit(1)