Read path is cgo like search. Control questions live in rank so CI can
test them without ladybug. Python bin/kb/{get,stats,eval} stays the
runner fallback.
22 lines
496 B
Go
Executable File
22 lines
496 B
Go
Executable File
//usr/bin/env go run -tags=system_ladybug,brain_stats "$0" "$@"; exit
|
|
//go:build cgo && system_ladybug && brain_stats
|
|
//
|
|
// bin/brain/stats.go - index health.
|
|
//
|
|
// ./bin/brain/stats.go
|
|
// ./bin/brain/stats.go --json
|
|
//
|
|
// Needs CGO + libladybug. Python bin/kb/stats is the CI fallback (no cgo).
|
|
// NOTE: never run `gofmt -w` on this file — it breaks the shebang.
|
|
package main
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/eSlider/2dph/internal/brain"
|
|
)
|
|
|
|
func main() {
|
|
os.Exit(brain.MainStats(os.Args[1:]))
|
|
}
|