# Divi CLI — the WordPress CLI for Divi 4 and Divi 5

> Respira CLI handles Divi 4 shortcodes and Divi 5 blocks natively. Parse, edit, and deploy Divi content from the command line.

Source: https://www.respira.press/cli/docs/builders/divi

---

## Divi 4 shortcodes

Divi 4 stores content as nested shortcodes. Respira parses them into structured JSON so you edit attributes rather than regex-matching strings.

```
respira read page mysite.com home
respira write edit-element mysite.com home et_pb_text-42 --set=text_font_size=48px
```

## Divi 5 blocks and presets

Divi 5 introduces presets. Respira exposes preset ids, resolved attribute sets, and update endpoints that respect Divi 5's locked spec.

```
respira docs divi presets
respira write edit-element mysite.com home module-5 --set=_presetId=preset-heading-xl
```
