Bench structure checks
Checks apps and sites directories, Procfile, the app registry and discovered site configuration files.
Day 021 / Frappe / ERPNext Utilities
A read-only Python CLI that checks a Frappe bench’s structure and configuration health without exposing configuration values.
Checks apps and sites directories, Procfile, the app registry and discovered site configuration files.
Reports key counts and health statuses while deliberately omitting database passwords and every other configuration value.
Produces stable text or JSON output with distinct exit codes for clean checks, findings and invalid input.
Read-only bench inspection
Structural and JSON checks
Paused-scheduler warning
Configuration values omitted
Nine passing standard-library tests
Pathlib, json, argparse and dataclasses provide the full read-only diagnostic without external packages.
The checks model common bench folders, app registries, common configuration and per-site configuration files.
Nine temporary-fixture tests cover missing structure, invalid JSON, empty registries, scheduler state, value omission and exit codes.