## Run a Search

Run `entire search` from an Entire-enabled Git repository:

```
entire search "auth token refresh"
```

Run without arguments to open interactive search:

```
entire search
```

## Search Scope

By default, CLI search is scoped to the current repository. Search another repository:

```
entire search "auth token refresh" --repo entirehq/entiredb
```

Search all repositories you can access:

```
entire search "auth token refresh" --all-repos
```

You can also use an inline repo filter:

```
entire search "repo:* auth token refresh"
```

## Filter Results

Filter by author, branch, or date:

```
entire search "retry logic" author:alex branch:main date:month
```

Use JSON output for scripts, automation, or agent instructions:

```
entire search "auth token refresh" --json
```

For exact syntax and flags, see the [`search` command reference](https://docs.entire.io/cli-reference/search).
