Skip to main content

cmd_export

Function cmd_export 

Source
pub async fn cmd_export(
    client: &VtaClient,
    name: &str,
    context: Option<&str>,
) -> Result<(), Box<dyn Error>>
Expand description

pnm did-templates export <name> [--context X] — emit a portable JSON file of a stored template, stripping server provenance (scope, timestamps, author DID). The output shape matches what init emits, so export | edit | create --file - round-trips without a format conversion step.

Writes to stdout so operators can redirect to a file or pipe through jq/diff. Never audits.