Files
kindexr/cmd/kindexr-cli/main.go
T
enki 1b7b70426c feat: Phase 0 bootstrap — kindexr boots, migrates, serves /health
- config: koanf-based loading (defaults → YAML → KINDEXR_ env vars)
- db: embedded SQLite migrations with BEGIN/END-aware statement splitter
- server: chi router, GET /health returns JSON stats
- cmd/kindexr: graceful SIGTERM shutdown
- cmd/kindexr-cli: stub
- deploy: systemd unit, example config, nginx snippet
- all packages covered by race-clean tests
2026-05-16 18:45:15 -07:00

24 lines
487 B
Go

// Command kindexr-cli is the admin CLI for kindexr.
//
// TODO (Phase 3): implement the following sub-commands:
// - apikey create --label <name> --visibility all|wot|curated
// - apikey list
// - apikey revoke <key>
// - relay add <url>
// - relay remove <url>
// - relay list
// - publisher trust <pubkey>
// - publisher block <pubkey>
// - db stats
package main
import (
"fmt"
"os"
)
func main() {
fmt.Println("kindexr-cli: not yet implemented")
os.Exit(0)
}