opa check
Check Rego source files
Options
Name | Description |
---|---|
--bundle, -b | Load paths as bundle files or root directories |
--capabilities <capabilities> | Set capabilities.json file path |
--format, -f <format> | Set output format |
--ignore <ignore> | Set file and directory names to ignore during loading (e.g., '.*' excludes hidden files) |
--max-errors, -m <max-errors> | Set the number of errors to allow before compilation fails early |
--schema, -s <schema> | Set schema file path or directory path |
--strict, -S | Enable compiler strict mode |
--help, -h | Help for check |