emigrate/docs/src/content/docs/plugins/reporters/index.mdx

25 lines
689 B
Text

---
title: Reporters
---
import { LinkCard, CardGrid } from '@astrojs/starlight/components';
import Link from '@components/Link.astro';
A reporter is a plugin that's responsible for printing the migration progress and results to the console.
## Using a reporter
You can specify a reporter via the `--reporter` (or `-r` for short) option:
```bash
npx emigrate list --reporter pino
```
Or set it up in your configuration file, see <Link href="/reference/configuration/#reporter">Reporter configuration</Link> for more information.
## Available Reporters
<CardGrid>
<LinkCard title="Default Reporter" href="default/" />
<LinkCard title="Pino Reporter" href="pino/" />
</CardGrid>