Print the PROV JSON-LD artifact(s) to stdout. When `signed`, add the dev-signature caveat (the signing path was used).
(values: &[serde_json::Value], signed: bool)
| 326 | /// Print the PROV JSON-LD artifact(s) to stdout. When `signed`, add the |
| 327 | /// dev-signature caveat (the signing path was used). |
| 328 | fn print_value(values: &[serde_json::Value], signed: bool) { |
| 329 | let out = if values.len() == 1 { |
| 330 | serde_json::to_string_pretty(&values[0]) |
| 331 | } else { |
| 332 | serde_json::to_string_pretty(&values) |
| 333 | } |
| 334 | .expect("PROV value serialization is infallible"); |
| 335 | println!("{out}"); |
| 336 | if signed { |
| 337 | eprintln!( |
| 338 | "note: signing keys are stored unencrypted on disk; treat this \ |
| 339 | signed projection as a non-production dev signature until key-at-rest \ |
| 340 | encryption lands." |
| 341 | ); |
| 342 | } |
| 343 | } |
| 344 | |
| 345 | /// Print the human-readable flywheel chain — the routed render: change -> |
| 346 | /// activity -> generated -> agent -> person -> turnParent -> ... (the |
no test coverage detected