hatch-surf/cmd/hatch
SoftwareEngineer 60e25bfc9d feat: add thin CLI for Hatch
Implements CLI commands that wrap the JSON API layer:
- hatch capture <url> - Send request to endpoint and store it
- hatch inspect <endpoint> - Fetch requests as JSON
- hatch search <endpoint> - Search captured traffic
- hatch replay <request-id> - Replay a captured request
- hatch mock set <endpoint> - Configure mock response
- hatch doc generate <endpoint> - Output OpenAPI spec

Uses stdlib flag package for CLI parsing (boring tools philosophy).
All commands talk to running Hatch server via HTTP.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-06-23 09:59:38 +02:00
..
cli_test.go feat: add thin CLI for Hatch 2026-06-23 09:59:38 +02:00
cli.go feat: add thin CLI for Hatch 2026-06-23 09:59:38 +02:00
main_test.go Add E2E smoke test — one-command DoD gate (ELF-23 Task 8) 2026-06-22 19:22:56 +02:00
main.go feat: add thin CLI for Hatch 2026-06-23 09:59:38 +02:00