seam-cli-0.3.7 is not a library.
seam-cli
SeamJS command-line tool for building HTML skeleton templates, generating typed TypeScript clients from procedure manifests, and orchestrating dev servers.
Structure
src/main.rs— CLI entry point (clap), dispatches subcommandssrc/config.rs— Parsesseam.toml, walks up directory tree to find configsrc/manifest.rs—Manifest/ProcedureSchematypessrc/pull.rs— Fetches/_seam/manifest.jsonfrom a running serversrc/codegen/typescript.rs— JTD schema to TypeScript interfaces +createSeamClientfactorysrc/build/skeleton/— HTML template extraction pipeline (slot, extract, document)src/dev.rs— Starts backend + frontend dev processessrc/ui.rs— Terminal output formatting
Commands
| Command | Description |
|---|---|
seam pull |
Fetch procedure manifest from a running server |
seam generate |
Generate typed client from a manifest file |
seam build |
Extract HTML skeletons and run full build pipeline |
seam dev |
Start backend and frontend dev servers |
Development
- Build:
cargo build -p seam-cli - Test:
cargo test -p seam-cli - Run:
cargo run -p seam-cli -- <command>
Notes
- The crate name is
seam-cli, but the binary name isseam - Config file lookup walks up the directory tree until it finds
seam.toml - The
buildsubcommand orchestrates skeleton extraction: slot detection, content extraction, and document assembly