opa check

Check Rego source files

Options

NameDescription
--bundle, -bLoad 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, -SEnable compiler strict mode
--help, -hHelp for check