summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-22 19:17:57 +0200
committerPaul Buetow <paul@buetow.org>2026-02-22 19:17:57 +0200
commitd629558394465b8956285edac324d67688ddd2c1 (patch)
treef511cf1ea87d916c11e85243361c366ae9843cd4 /cmd
parent48280e828bc4737a91ed556226f7fdcb52679f87 (diff)
Rename binary from geheim to foostore
- go.mod: module path codeberg.org/snonux/geheim → codeberg.org/snonux/foostore - cmd/geheim/ → cmd/foostore/ - Magefile.go: binary/binaryName/mainPkg constants updated - internal/config: config file path ~/.config/geheim.json → ~/.config/foostore.json - All import paths and comments updated throughout - Delete geheim.rb (the original Ruby implementation, superseded by this Go rewrite) - CLAUDE.md rewritten to reflect the Go implementation, new binary name, build system (mage), and current package architecture Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/foostore/main.go (renamed from cmd/geheim/main.go)8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd/geheim/main.go b/cmd/foostore/main.go
index 1d5f6e6..dd0da3d 100644
--- a/cmd/geheim/main.go
+++ b/cmd/foostore/main.go
@@ -1,4 +1,4 @@
-// main is the thin entry point for the geheim binary.
+// main is the thin entry point for the foostore binary.
// It handles the -version flag, sets up a signal-cancellable context,
// initialises the CLI, and exits with the code returned by Run.
// All command logic lives in internal/cli.
@@ -12,8 +12,8 @@ import (
"os/signal"
"syscall"
- "codeberg.org/snonux/geheim/internal/cli"
- "codeberg.org/snonux/geheim/internal/version"
+ "codeberg.org/snonux/foostore/internal/cli"
+ "codeberg.org/snonux/foostore/internal/version"
)
func main() {
@@ -37,7 +37,7 @@ func main() {
}
// flag.Args() returns arguments after flags, so flag-aware invocations
- // like `geheim -version` work while plain `geheim cat foo` still passes
+ // like `foostore -version` work while plain `foostore cat foo` still passes
// all args through unchanged.
os.Exit(c.Run(ctx, flag.Args()))
}