summaryrefslogtreecommitdiff
path: root/internal/git/git_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-22 19:09:25 +0200
committerPaul Buetow <paul@buetow.org>2026-02-22 19:09:25 +0200
commit48280e828bc4737a91ed556226f7fdcb52679f87 (patch)
tree4371fe4595b4ff488ff0ad895f7a6e276dccb32e /internal/git/git_test.go
parent90a4a643107446ed2afb851af2397820111cb563 (diff)
Enforce Go best practices (task 344)
- Magefile.go: add Default() target so bare `mage` builds the binary; fix Install()/Uninstall() to use $GOPATH/bin (default ~/go/bin) instead of the previous hardcoded ~/.local/bin path; use cp -v for visibility; fix 0755 -> 0o755 octal literal in createBinDir; extract binaryName const - cmd/geheim/main.go: add -version flag (prints version.Version and exits); pass flag.Args() instead of os.Args[1:] so flags are parsed cleanly - internal/cli/cli.go: remove dead fatal() and prompt() helpers that were never called anywhere in the codebase Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/git/git_test.go')
0 files changed, 0 insertions, 0 deletions