Skip to content

Wire WeRead book search as a kit domain#1

Open
tamnd wants to merge 1 commit into
mainfrom
feat/kit-domain
Open

Wire WeRead book search as a kit domain#1
tamnd wants to merge 1 commit into
mainfrom
feat/kit-domain

Conversation

@tamnd

@tamnd tamnd commented Jun 15, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds domain.go registering the weread:// kit domain with a search <keyword> command
  • Builds on the existing Client (Config pattern, Referer header, retry/backoff) and Book type from main
  • Adds any-cli v0.2.0 to go.mod so the domain driver and binary share one source of truth

Test plan

  • go test ./weread/... passes (all existing + new domain/wiring tests)
  • make build && ./bin/weread search 三体 returns books
  • ./bin/weread search golang --limit 5 caps output

Adds domain.go registering the weread:// kit domain with a single
`search <keyword>` command built on the existing Client. Brings
any-cli/kit into go.mod so the domain driver and CLI binary share one
source of truth.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant