Documentation
¶
Overview ¶
Package cli implements the pluckr command-line interface using cobra.
Commands stay narrow: each one is a thin layer that wires user input into the registry, pipeline, retriever, or MCP server. Heavy lifting belongs in those packages, not here.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeriveName ¶
DeriveName is the exported wrapper of deriveName.
func DetectKind ¶
DetectKind is the exported wrapper of detectKind so the MCP server's add_source tool can share the same logic without duplicating it.
func SetMCPRunner ¶
func SetMCPRunner(fn MCPRunner)
SetMCPRunner registers the runner. internal/mcp.Register() calls this from main.go.
Types ¶
type Globals ¶
type Globals struct {
CacheRoot string
}
Globals carries the values flags collect at the root level so each subcommand can grab them via a context-friendly accessor without re-parsing.