Skip to main content
Search indexed Entire history from the CLI.
entire search [QUERY] [flags]
By default, search is scoped to the current repository. Use --repo, --all-repos, or repo:* to change the scope. Run without arguments to open interactive search. Use --json for machine-readable output.

Examples

entire search "auth token refresh"
entire search "auth token refresh" --repo entirehq/entiredb
entire search "repo:* auth token refresh"
entire search "retry logic" author:alex branch:main date:month
entire search "auth token refresh" --json

Flags

FlagDescription
--all-reposSearch all accessible repositories instead of only the current repository.
--author NAMEFilter by author name.
--branch NAMEFilter by branch name.
--date PERIODFilter by time period. Use week or month.
--jsonOutput as JSON.
--limit NMaximum number of results per page. Default is 10.
--page NPage number, 1-based. Default is 1.
--repo OWNER/REPOFilter by repository. Use '*' to search all accessible repositories.

Inline Filters

CLI queries also support inline filters:
entire search "retry logic author:alex date:month branch:main repo:entirehq/entiredb"
Supported inline filters are:
  • author:NAME
  • date:week|month
  • branch:NAME
  • repo:OWNER/NAME
  • repo:*

Semantic Search

Learn what entire search finds and when to use it.

Search Past Agent Work

Practice search with a guided tutorial.