Documentation
¶
Overview ¶
Package kitbridge turns a tamnd/*-cli built on the kit framework into tomo tools. Each kit Operation carries its own name, schema, and typed handler, so one adapter exposes a whole CLI's surface as typed tools with no per-command wiring. The CLI's own client (the thing that talks to the site) is supplied once and injected into every op, exactly as kit does when it runs the CLI.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Tools ¶
Tools adapts every operation an app registers into a tomo tool. prefix namespaces the names so several bridged CLIs never collide; an empty prefix leaves the kit names as they are. client is the domain client injected into each op, and st is an optional record store to tee results into. limit caps how many records one call returns, 0 for no cap.
Types ¶
This section is empty.