Move entrypoint to cmd/keyfunc
check / check (push) Successful in 1m14s

REPO_POLICIES.md keeps Go entrypoints under cmd/, one main.go per binary
whose body is a single call into internal/. Move the root main.go there
and point the Makefile build target at ./cmd/keyfunc; the binary is still
written to ./keyfunc. main.go is otherwise unchanged. (closes #20)

Model: opus-4-8
This commit is contained in:
2026-09-21 07:20:21 +00:00
parent 8aeed7b901
commit 01cb526da2
2 changed files with 1 additions and 1 deletions
+12
View File
@@ -0,0 +1,12 @@
// Command keyfunc derives key pairs from a BIP-39 mnemonic.
package main
import (
"os"
"git.eeqj.de/sneak/keyfunc/internal/cli"
)
func main() {
os.Exit(cli.Main())
}