summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-22 09:28:52 +0200
committerPaul Buetow <paul@buetow.org>2026-02-22 09:28:52 +0200
commit7ae8855a075773c50ab8db8ee65bbfa9710f140e (patch)
tree590496d0883dfeb928e660345325e9a725688b79 /cmd
parentdc2d267244d6dd9d991207fe193e987b6477c415 (diff)
Add Go project scaffold (task 352)
- go.mod with module codeberg.org/snonux/geheim (go 1.22, mage dep) - Magefile.go with Build, Test, Install, Uninstall targets - cmd/geheim/main.go delegating to internal/cli - Stub packages: cli, version, config, crypto, git, store, clipboard, shell - go.sum generated; binary confirmed to build via mage build Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/geheim/main.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/cmd/geheim/main.go b/cmd/geheim/main.go
new file mode 100644
index 0000000..4032f53
--- /dev/null
+++ b/cmd/geheim/main.go
@@ -0,0 +1,13 @@
+// main is the entry point for the geheim binary.
+// It delegates all logic to the cli package and exits with the returned code.
+package main
+
+import (
+ "os"
+
+ "codeberg.org/snonux/geheim/internal/cli"
+)
+
+func main() {
+ os.Exit(cli.Run())
+}