Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cmd ¶ added in v0.13.0
type Cmd struct { Dir string `help:"Policy directory" arg:"" required:"" type:"path"` IgnoreSchemas bool `help:"Ignore schemas during compilation"` Tests string `help:"[Deprecated] Path to the directory containing tests. Defaults to policy directory." type:"path"` RunRegex string `help:"Run only tests that match this regex" name:"run"` SkipTests bool `help:"Skip tests"` Output flagset.OutputFormat `help:"Output format (${enum})" default:"tree" enum:"tree,list,json" short:"o"` TestOutput *flagset.VerificationOutputFormat `help:"Test output format. If unspecified matches the value of the output flag. (tree,list,json,junit)"` Color *outputcolor.Level `help:"Output color level (auto,never,always,256,16m). Defaults to auto." xor:"color"` NoColor bool `help:"Disable colored output" xor:"color"` Verbose bool `help:"Verbose output on test failure"` }
Click to show internal directories.
Click to hide internal directories.