Add sutil CLI in cmd/sutil with internal/cli command tree

This commit is contained in:
2026-10-31 10:03:06 -07:00
parent c9ce5ff442
commit f53b6aad42
7 changed files with 551 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
// Command sutil is sneak's shell utility: small tools backed by the
// packages in sneak.berlin/go/x. Run `sutil --help` for the command list.
package main
import (
"os"
"sneak.berlin/go/x/internal/cli"
)
// version is the build version. The Makefile and Dockerfile set it at link
// time with -ldflags "-X main.version=...".
var version = "dev"
func main() {
err := cli.New(cli.Params{Version: version}).Execute()
if err != nil {
os.Exit(1)
}
}