pub fn from_document( document: &str, described: &str, out: &Path, ) -> Result<Generated, Refusal>
Generates and writes from a document body — the seam client_ts reaches once it has read --surface. described is how a refusal should name the document (“the document on stdin”, or the path it was read from).
client_ts
--surface
described
Refusal, as client_ts.
Refusal