WP-CLI surface
Available when WP_CLI is in play:
| Command | Purpose |
|---|---|
| `wp pfm entity list [--format=table | csv |
wp pfm record list <entity> [--limit=50] [--filter="<EQL>"] [--format=…] | Page of records. |
wp pfm record create <entity> --data='{...}' | Insert one record. |
| `wp pfm permission test <user-id> <entity> <read\ | create\ |
wp pfm action list [--entity=<slug>] | List configured Actions. |
wp pfm cache flush | Wipe pfm_ transients (anonymous-rate-limit counters, etc.). |
Most useful in CI for verifying permission migrations against real users + entities before a release.