Skip to content

Commit

Permalink
Merge branch 'main' into fix/query-planner-1719
Browse files Browse the repository at this point in the history
  • Loading branch information
dbuduev committed Aug 2, 2023
2 parents 5041eee + 4e7d22c commit a98a225
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/cerbos/compile/compile.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ cerbos compile --skip-tests /path/to/policy/repo
)

type Cmd struct { //nolint:govet // Kong prints fields in order, so we don't want to reorder fields to save bytes.
Dir string `help:"Policy directory" arg:"" required:"" type:"existingdir"`
Dir string `help:"Policy directory" arg:"" required:"" type:"path"`
IgnoreSchemas bool `help:"Ignore schemas during compilation"`
Tests string `help:"Path to the directory containing tests. Defaults to policy directory." type:"existingdir"`
Tests string `help:"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"`
Expand Down

0 comments on commit a98a225

Please sign in to comment.