# xh

Friendly and fast tool for sending HTTP requests

**Score:** 70% pass rate
**Principles:** 3/7 met

## Embed the badge

The [badge floor](https://anc.dev/badge) is 80%; this scorecard is at 70% (10 points below). Once the score clears the floor, the embed snippet will appear here.

| Status | Check | Principle | Evidence |
|--------|-------|-----------|----------|
| PASS | Help flag produces useful output | [P3](https://anc.dev/p3) |  |
| PASS | Version flag works | [P3](https://anc.dev/p3) |  |
| WARN | Structured output support | [P2](https://anc.dev/p2) | --output/--format flag detected but could not validate JSON via safe probes (--help/--version override output flags in most CLIs) |
| PASS | Rejects invalid arguments | [P4](https://anc.dev/p4) |  |
| PASS | Quiet mode available | [P7](https://anc.dev/p7) |  |
| PASS | Handles SIGPIPE gracefully | [P6](https://anc.dev/p6) |  |
| PASS | Non-interactive by default | [P1](https://anc.dev/p1) |  |
| SKIP | Non-interactive gate flag advertised in --help | [P1](https://anc.dev/p1) | target satisfies P1 via alternative gate (help-on-bare or stdin-primary) |
| WARN | Flags advertise env-var bindings in --help | [P1](https://anc.dev/p1) | 51 flag(s) found in --help but no `[env: NAME]` bindings advertised |
| WARN | Pager-using CLI ships --no-pager escape hatch | [P6](https://anc.dev/p6) | pager referenced in --help but no --no-pager escape hatch advertised |
| PASS | Respects NO_COLOR | [P6](https://anc.dev/p6) |  |

**Repo:** [ducaale/xh](https://github.com/ducaale/xh)
**Language:** Rust
**Version scored:** 0.25.3
**Audit date:** 2026-05-01 10:09:00 UTC
**Duration:** 134ms
**Platform:** `linux/x86_64`
**Mode:** command
**Anc build:** 0.3.0
**Install:** `brew install xh`

## Reproduce locally

```bash
anc check --command xh --output json
```
