Referencesince 1.0.0
penv hook
Run as a harness hook; a payload it cannot read is refused
Run as a harness hook; a payload it cannot read is refused.
Usage
penv hook <harness>Every command also takes the global options.
Arguments
| Argument | Required | What it is |
|---|---|---|
<harness> | yes | The harness, such as claude-code. |
Exit codes
| Code | Name | What it means |
|---|---|---|
0 | ok | The command did what it says. |
1 | error | Unclassified failure. The message on stderr names the cause. |
2 | auth | Not signed in, or we rejected the credential. |
Related
penv guard: Write the rules that keep AI tools out of .env.penv reveal: Show one value; an AI agent needs your approval first.- Coding agents