Documentation
¶
Overview ¶
Package cmd implements the testrig CLI commands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
Execute runs the root command. A SIGINT or SIGTERM cancels cmd.Context() on the first signal so generic subcommands (go test, gotestsum) stop promptly. diagnose installs its own two-stage context: first signal finishes in-flight iterations; second signal hard-cancels. A second root signal hits the default handler and force-exits when diagnose is not running.
func NewRootCommand ¶ added in v0.0.4
func NewRootCommand(runnerOpts hooks.RunOptions) *cobra.Command
NewRootCommand constructs a new command tree dynamically based on RunOptions.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.