Skip to content
Custom fields for WordPress that are quick to build and quick to load. Get Pro
Docs

Integrations

WP-CLIPro

Eight commands for deploys, backups and support reports. See Reference: WP-CLI.

1 minute to read Updated 1 week ago Needs UglyFields Pro

WP-CLI is the terminal of WordPress. UglyFields Pro adds eight commands for the jobs that belong in a script: deploys, backups and support reports.

BASH
wp ugly-fields sync
wp ugly-fields check

A deploy tool pushes your theme (with its ugly-json/ and ugly-blocks/ folders) and then runs wp ugly-fields sync, so the site takes the new groups without anyone opening the admin. check reads the files and tells you what is wrong before you deploy.

You want toUse
Take the files of the theme into the sitewp ugly-fields sync
Find a broken file before a deploywp ugly-fields check
See every command with its optionsReference: WP-CLI

Did this article answer your question?