pub fn client_ts(source: &str, out: &Path) -> Result<Generated, Refusal>Expand description
The whole command minus the argv plumbing: read the document, generate
the package, write it under out. Public so the acceptance tests can
pin the messages and the JSON payloads the two disciplines print
without driving argv.
ยงErrors
Refusal with the stable code for the step that refused: reading
the document, reading it as a /__surface contract, generating from
it, or writing the files out.