pp behaves like the command it wraps, so a script that calls lake or lean
can call pp lake or pp lean instead. Output, exit codes and standard input
follow rules that are predictable in automation. On a machine without a browser,
authenticate with an API token in PROOFPOD_TOKEN; see
Sign-in and API tokens.
Output and exit codes
- Only the command’s own output goes to stdout. ProofPod’s messages go to stderr.
- When stderr is not a terminal, ProofPod prints warnings and errors only. Add
--verboseto also log sync details, the environment and the cost summary, or--quietfor nothing but the command’s output. ppexits with the command’s exit code. Codes produced by ProofPod itself, such as 125 when the command could not be run, are listed under Exit codes.
Checking many files
A common automation pattern is checking a stream of candidate proofs. Inside a project, check each file against the project’s dependencies:pp never reads standard input unless you pass --stdin, so it is safe to call
from a loop that is itself reading a list, and from harnesses that leave stdin
open. See Standard input.
Running checks in parallel
Checks in one workspace run one at a time. To run checks in parallel, use several named workspaces (--workspace checks-1, --workspace checks-2, …),
up to your account’s limit of 8 concurrent commands.