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 the context so long-running subcommands (notably `diagnose`) can stop cleanly and still write their post-run analysis. A second signal hits the default handler and force-exits.
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.