zynk-cli
zynk-cli is the standalone Rust command-line interface for Zynk. It installs a zynk binary that inspects schema-capable Python or Rust apps and generates TypeScript clients.
Install
After publication, install the CLI from crates.io:
Common commands
Generate a plain TypeScript client from a Python bridge:
Generate an Effect client:
Print the canonical API graph JSON for debugging:
Regenerate on source changes during development:
Publish workflow
Publishing to crates.io is a manual maintainer step. zynk-cli depends on the Zynk schema and generator crates, so publish those dependency crates first, in dependency order, before publishing the CLI:
zynk-schemazynk-codegenzynk-gen-tszynk-gen-effectzynk-cli
Before publishing, verify the crate metadata and package contents from the repository root with cargo package for every crate in the release set:
Publish each crate explicitly in dependency order, waiting for crates.io to index each dependency before publishing the next crate:
Do not use --allow-dirty for a release. Confirm that each Cargo.toml has the intended version, license, repository, description, keywords, categories, and readme metadata before running the final publish command. For zynk-cli, also confirm package.name = "zynk-cli" and [[bin]] name = "zynk".