Documentation
¶
Overview ¶
Package cli is grpcprocctl: inspect and operate grpcproc nodes through their Inspector, from a terminal or, with `grpcprocctl mcp`, from an AI agent.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Version string
Version, when set, overrides the version grpcprocctl reports: -ldflags "-X github.com/floatdrop/grpcproc/tools/cli.Version=v1.2.3". Left empty, it is read from the build: the module version that `go install …@v1.2.3` stamps, or "dev" for a binary built from a checkout.
Functions ¶
Types ¶
type Env ¶
type Env struct {
Stdout, Stderr io.Writer
Dial func(ctx context.Context, c Conn) (grpc.ClientConnInterface, func() error, error)
MCPTransport mcp.Transport
Getenv func(string) string
// BuildInfo is where the version comes from; debug.ReadBuildInfo when nil.
BuildInfo func() (*debug.BuildInfo, bool)
}
Env is what grpcprocctl talks to. Main fills what is left zero with the process's own: stdout, stderr, a gRPC dial, MCP over stdio.