# atuin output

<!-- Generated by web/apps/docs/scripts/gen-reference.ts from the Atuin source. Do not edit. -->

Work with captured command output

```sh
atuin output <COMMAND>
```

## `atuin output search`

Full-text search over captured command output

```sh
atuin output search [OPTIONS] <QUERY>...
```

### Arguments

- `<QUERY>...`: Words to search for; all must appear. Quote words to find them together, in that order. Use `--` before a query that starts with `-`

### Options

- `--limit <LIMIT>`: Maximum number of matches to return. Default: `5`.
- `-C <CONTEXT>`, `--context <CONTEXT>`: Show only the matching lines, with this many lines of context on either side; without it, each match's whole output
- `--style <STYLE>`: How matches are rendered. Default: `auto`.
  - `auto`
  - `plain`
  - `pretty`
  - `json`: A single JSON array of match objects
  - `ndjson`: Newline-delimited JSON: one match object per line