kb

command
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

usr/bin/env go run "$0" "$@"; exit bin/kb/watch.go - re-index the 2dph brain when corpus files change.

Usage:

./bin/kb/watch.go [dir...]            # dirs default /corpus
KB_WATCH_INTERVAL=15 ./bin/kb/watch.go

Shebang trick: first line is a Go `//` comment; the real code lives in the importable package (module path, never a relative import). NOTE: never run `gofmt -w` on this file - it rewrites `//usr/bin/env` to `// usr/...` and breaks the shebang.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL