Documentation
¶
Overview ¶
Package command provides main command line interface
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CLI ¶
type CLI struct {
Nodes int `short:"n" long:"nodes" required:"" default:"4" help:"Number of nodes"`
Concurrency int `short:"c" long:"concurrency" default:"4" help:"Number of concurrent test executions per node"`
ScriptsDir string `short:"o" long:"scripts-dir" required:"" default:"./test-scripts" help:"Directory to output generated scripts"`
ScanPackages bool `` /* 150-byte string literal not displayed */
Exclude string `short:"x" long:"exclude" help:"Regex pattern to exclude packages (used only with --scan-packages)"`
JSONDir string `short:"j" long:"json-dir" default:"./test-json" help:"Directory containing go test -json results"`
Template string `short:"t" long:"template" help:"Path to the template file (optional)"`
MaxFunctions int `short:"m" long:"max-functions" default:"0" help:"Maximum number of test functions per package (0: unlimited)"`
TestFlags []string `arg:"" help:"Flags to pass to the test binary after --" optional:""`
BinariesDir string `short:"p" long:"binaries-dir" default:"./test-bin" help:"Directory to output or containing test binaries"`
BuildConcurrency int `short:"b" long:"build-concurrency" default:"4" help:"Concurrency for building test binaries"`
DisableBuild bool `short:"d" long:"disable-build" default:"false" help:"Disable building test binaries (use pre-built binaries by other way)"`
Version kong.VersionFlag `short:"v" long:"version" help:"Print version and exit"`
// contains filtered or unexported fields
}
CLI main command line interface
Click to show internal directories.
Click to hide internal directories.