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

# GrepOutputMode

> Represents the output mode for grep search results. [GrepOutputMode.FilesWithMatches](/claudeessentials/api-reference/CloudNimble/ClaudeEssentials/Hooks/GrepOutputMode#filesw...

## Definition

**Assembly:** CloudNimble.ClaudeEssentials.dll

**Namespace:** CloudNimble.ClaudeEssentials.Hooks

**Inheritance:** System.Enum

## Syntax

```csharp theme={null}
CloudNimble.ClaudeEssentials.Hooks.GrepOutputMode
```

## Summary

Represents the output mode for grep search results. [GrepOutputMode.FilesWithMatches](https://ai.easyaf.dev/api-reference/CloudNimble/ClaudeEssentials/Hooks/GrepOutputMode#fileswithmatches) is the default.

## Values

| Name | Value | Description |
| - | - | - |
| `FilesWithMatches` | 0 | Returns only the paths of files that contain at least one match. This is the default output mode. |
| `Content` | 1 | Returns the matching lines from each file along with their file paths. |
| `Count` | 2 | Returns the number of matches found in each file. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.