mirror of
https://github.com/openai/codex.git
synced 2026-04-24 14:45:27 +00:00
update readme
This commit is contained in:
@@ -47,7 +47,7 @@ prefix_rule(
|
||||
## CLI
|
||||
- Provide a policy file (for example `src/default.codexpolicy`) to check a command:
|
||||
```bash
|
||||
cargo run -p codex-execpolicy2 -- --policy path/to/policy.codexpolicy check git status
|
||||
cargo run -p codex-execpolicy2 -- check --policy path/to/policy.codexpolicy git status
|
||||
```
|
||||
- Example outcomes:
|
||||
- Match: `{"match": { ... "decision": "allow" ... }}`
|
||||
|
||||
Reference in New Issue
Block a user