Skip to content

Add README.md.hbs to client-lib templates#16

Merged
scarmuega merged 1 commit into
mainfrom
feat/codegen-readme-template
May 29, 2026
Merged

Add README.md.hbs to client-lib templates#16
scarmuega merged 1 commit into
mainfrom
feat/codegen-readme-template

Conversation

@scarmuega
Copy link
Copy Markdown
Contributor

Summary

  • Adds a README.md.hbs to .trix/client-lib/ so every Python client emitted by trix codegen ships with pip install tx3-sdk instructions and a minimal usage snippet.
  • The trix codegen template loop picks up every .hbs in the directory, so no plugin-side wiring is needed.

Part of the consumer-flow simplification: trix codegen no longer needs to nudge users to external docs for the post-codegen install step.

Test plan

  • trix codegen --plugin python-client against a sample project produces <output>/<protocol>/README.md with the expected install snippet
  • Snippet renders the protocol name via {{tii.protocol.name}}

Emits a README.md alongside the generated Python client with
install instructions for the tx3-sdk runtime and a minimal usage
snippet. Picked up automatically by the trix codegen template loop.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@scarmuega scarmuega merged commit c55f0fc into main May 29, 2026
3 checks passed
@scarmuega scarmuega deleted the feat/codegen-readme-template branch May 29, 2026 11:08
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