mix reqord.show (reqord v0.4.0)

View Source

Display cassette contents in a readable format.

This task helps inspect cassette files and their entries.

Usage

# Show all entries in a cassette (relative to cassette dir)
mix reqord.show my_test.jsonl

# Show with full/relative path
mix reqord.show test/support/cassettes/auth_param_test.jsonl

# Show entries matching a URL pattern
mix reqord.show my_test.jsonl --grep "/users"

# Show entries for a specific HTTP method
mix reqord.show my_test.jsonl --method GET

# Show only request details
mix reqord.show my_test.jsonl --request-only

# Show only response details
mix reqord.show my_test.jsonl --response-only

# Show raw JSON
mix reqord.show my_test.jsonl --raw

Options

  • --grep PATTERN - Filter entries by URL pattern
  • --method METHOD - Filter by HTTP method (GET, POST, etc.)
  • --request-only - Only show request details
  • --response-only - Only show response details
  • --raw - Show raw JSON instead of formatted output
  • --decode-body - Decode and pretty-print response bodies
  • --no-truncate - Show full response bodies without truncation
  • --dir PATH - Cassette directory (default: test/support/cassettes)