Documentation
¶
Overview ¶
Command cc is the CrowdControl reference CLI. It loads .cc policy files, evaluates them against JSON input, validates them against an optional schema, or runs JSON-defined test suites against them.
Usage:
cc evaluate --input doc.json --policy ./policies [--policy ./more] [--explain] cc validate --policy ./policies [--schema schema.json] [path/to/file.cc ...] cc test ./tests/ # run a directory of test files cc parse path/to/file.cc # syntax-check a single file cc serve --policy ./policies [--addr :8080] # run as an HTTP PDP cc version
cc has zero non-stdlib dependencies. It is the reference implementation for SDKs in other languages — every native port should produce the same decisions for the same inputs.
Click to show internal directories.
Click to hide internal directories.