Files
x/cmd/sutil/main.go
T

21 lines
458 B
Go

// 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)
}
}