> ## Documentation Index
> Fetch the complete documentation index at: https://docs.praison.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Diag

> Diagnostics export for troubleshooting

The `diag` command exports diagnostic information for troubleshooting.

## Usage

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
praisonai diag [OPTIONS] COMMAND [ARGS]...
```

## Commands

| Command  | Description                |
| -------- | -------------------------- |
| `export` | Export diagnostics to file |
| `show`   | Show diagnostics summary   |

## Examples

### Export diagnostics

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
praisonai diag export --output diag.json
```

### Show diagnostics

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
praisonai diag show
```

## See Also

* [Doctor](/docs/cli/doctor) - Health checks
* [Debug](/docs/cli/debug-cli) - Debug mode
