# WP-CLI

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

Source: https://uglydev.com/docs/integrations/integrations-wp-cli/
Updated: 20 November 2026

**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 to | Use |
| --- | --- |
| Take the files of the theme into the site | `wp ugly-fields sync` |
| Find a broken file before a deploy | `wp ugly-fields check` |
| See every command with its options | [Reference: WP-CLI](https://uglydev.com/docs/wp-cli/) |

> **Note:** WP-CLI is part of **UglyFields Pro**. The free plugin does the same by hand: **Sync** in the admin.
