Skip to content

wire xiaoyuzhou onto any-cli/kit with typed domain#1

Merged
tamnd merged 1 commit into
mainfrom
feat/kit-domain
Jun 15, 2026
Merged

wire xiaoyuzhou onto any-cli/kit with typed domain#1
tamnd merged 1 commit into
mainfrom
feat/kit-domain

Conversation

@tamnd

@tamnd tamnd commented Jun 15, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add xiaoyuzhou/domain.go with three kit ops: podcast, episode, episodes
  • Update types: int for counts, DurationSecs float64, EID/PubDate fields, kit:"id" and table: struct tags
  • Replace the cobra/fang command tree with kit.App wired through the domain registry
  • Tests updated to match new type shapes; domain_test.go covers metadata and host wiring

Test plan

  • go test ./... passes (all green)
  • xiaoyuzhou podcast <id> fetches a podcast profile
  • xiaoyuzhou episode <id> fetches an episode
  • xiaoyuzhou episodes <podcast-id> lists episodes
  • xiaoyuzhou --help shows kit-style help

Add domain.go with three kit ops (podcast, episode, episodes) and
update types to match the spec: int counts, DurationSecs float64,
EID/PubDate fields, kit:"id" and table: struct tags.

Replace the cobra/fang command tree with kit.App wired through the
domain registry. Tests updated to use the new type shapes.
@tamnd tamnd merged commit ac93c46 into main Jun 15, 2026
3 of 7 checks passed
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