Documentation
¶
Overview ¶
Package cli wires the cobra command tree for mcpbench.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrRegression = errSentinel("mcpbench: regression detected")
ErrRegression is returned by the compare command when one or more thresholds are exceeded. main.go translates this to exit code 1 without printing a duplicate message.
View Source
var Version = "0.1.0"
Version is the mcpbench CLI version. Set via -ldflags during build.
Functions ¶
func Execute ¶
Execute runs the root command, directing I/O to the provided streams. It returns an error rather than calling os.Exit so that callers (and tests) can decide how to surface the failure.
func NewCompareCmd ¶
NewCompareCmd builds the `mcpbench compare` subcommand.
func NewScenarioValidateCmd ¶
NewScenarioValidateCmd builds the `mcpbench scenario-validate` subcommand.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.