# olef profile

Source: https://olef.dev/docs/reference/cli/profile

Generated from **Olef 3.0.2**. [All commands](https://olef.dev/docs/reference/commands) · [Capabilities and requirements](https://olef.dev/docs/reference/capabilities)

These entries describe available commands, not a sequence to run. Check prerequisites before changing app, device, or cloud state. Global options are listed in the [command catalog](https://olef.dev/docs/reference/commands#global-options).

## olef profile

Device display profile (animations, font, density, size, rotation)

```bash
olef profile --help
```

Output: **json**.

### olef profile snapshot

Capture the display profile as JSON, optionally to a file

```bash
olef profile snapshot --help
```

Output: **json**.

| Argument | Description |
| --- | --- |
| `--out <OUT>` / `-o` | Write the snapshot to this file instead of stdout |
| `--json` | Accepted for compatibility; output is always JSON. |

### olef profile apply

Apply a preset (`automation`), a snapshot file, or individual flags

```bash
olef profile apply --help
```

Output: **json**.

| Argument | Description |
| --- | --- |
| `--preset <PRESET>` | Named preset. `automation` zeroes the three animation scales |
| `--file <FILE>` | Apply a profile previously written by `profile-snapshot -o` Conflicts with: `animations`, `density`, `font_scale`, `preset`, `rotation`, `size`. |
| `--animations <ANIMATIONS>` | Set all three animation scales to this value (e.g. 0 or 1) |
| `--font-scale <FONT_SCALE>` | Set the font scale |
| `--density <DENSITY>` | Set the display density (dpi) |
| `--size <SIZE>` | Set the display size as WxH (e.g. 1080x2400) |
| `--rotation <ROTATION>` | Pin rotation 0..3 (disables auto-rotate) |
| `--json` | Accepted for compatibility; output is always JSON. |

### olef profile reset

Reset the display profile to stock defaults

```bash
olef profile reset --help
```

Output: **json**.

| Argument | Description |
| --- | --- |
| `--json` | Accepted for compatibility; output is always JSON. |
