Skip to content

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 26 Jul 03:57
· 25 commits to main since this release

What's new

Custom headers for built-in fetches. Some sites 403 unknown user agents or want a cookie — you no longer have to fall back to curl | cull. -H/--header works exactly like curl's:

cull '.headline' -t -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64)' https://example.com
cull '.dashboard .stat' -t -H 'Cookie: session=abc123' https://example.com/me
cull --table -H 'Authorization: Bearer …' https://internal.example.com/report
  • -H 'Name: Value' is repeatable; overriding User-Agent suppresses the default cull/VERSION one
  • New --timeout SECS bounds each fetch (default 30 s, 0 disables) — previously a stalled origin could hang forever
  • Fetch behavior is now covered by offline integration tests that assert the exact request headers on the wire

Scope note: no custom TLS, proxies, retries, or POST — for anything fancier, curl -s URL | cull remains the right tool.

103 tests. Install: cargo install cull, cargo binstall cull, brew install rashida-thorne/cull/cull, or the curl|sh installer.