Python stays the implementation. Commands are bin/facts/{audit,extract,crm}.go
like postgres/query.go.
22 lines
485 B
Go
Executable File
22 lines
485 B
Go
Executable File
//usr/bin/env go run -tags=facts_audit "$0" "$@"; exit
|
|
//go:build facts_audit
|
|
//
|
|
// bin/facts/audit.go - 2-source + lexicon checks.
|
|
//
|
|
// ./bin/facts/audit.go self
|
|
// ./bin/facts/audit.go db
|
|
//
|
|
// Python bin/facts/audit is the implementation (CI runs it directly).
|
|
// NOTE: never run `gofmt -w` on this file — it breaks the shebang.
|
|
package main
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/eSlider/2dph/internal/cmdbin"
|
|
)
|
|
|
|
func main() {
|
|
os.Exit(cmdbin.ExecFile("bin/facts/audit", os.Args[1:]))
|
|
}
|