Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

search

Search ADRs for matching content.

Usage

adrs search [OPTIONS] <QUERY>

Arguments

ArgumentDescription
<QUERY>Search query text

Options

OptionDescription
-t, --titleSearch titles only
-s, --status <STATUS>Filter by status
-c, --case-sensitiveCase-sensitive search

Examples

# Search all content for 'postgres'
adrs search postgres

# Search titles only
adrs search -t database

# Search accepted ADRs for 'auth'
adrs search --status accepted auth

# Case-sensitive search
adrs search -c PostgreSQL

Output

Returns matching ADRs with their number, title, and status.

$ adrs search database
1: Use PostgreSQL for persistence (accepted)
5: Add Redis for caching (proposed)

Tips

  • Search is case-insensitive by default
  • Searches both title and full content unless -t is used
  • Combine with --status to narrow results
  • Use quotes for multi-word searches: adrs search "event sourcing"