compile Command

The compile command runs the Cerbos compiler to validate policy definitions and run any test suites. See Policy compilation for more information.

Compile the policy files found in the directory

  cerbos compile DIR [flags]

  -f, --format string   Output format (valid values: json,plain)
  -h, --help            help for compile
      --run string      Run only tests that match this regex
      --tests string    Path to the directory containing tests