compile

package
v0.36.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

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"`
}

func (*Cmd) Help added in v0.13.0

func (c *Cmd) Help() string

func (*Cmd) Run added in v0.13.0

func (c *Cmd) Run(k *kong.Kong) error

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL