summaryrefslogtreecommitdiff
path: root/internal/cli/cli.go
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 /internal/cli/cli.go
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 'internal/cli/cli.go')
-rw-r--r--internal/cli/cli.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/internal/cli/cli.go b/internal/cli/cli.go
new file mode 100644
index 0000000..4b4e8c5
--- /dev/null
+++ b/internal/cli/cli.go
@@ -0,0 +1,9 @@
+// Package cli implements the command-line interface for geheim.
+// Run() is called by main and returns an exit code.
+package cli
+
+// Run is the top-level entry point for the CLI.
+// Returns 0 on success, non-zero on error.
+func Run() int {
+ return 0
+}