Saphan StudioDocs
Reference/Command reference

saphan show

Return a registered order's exact bytes from its recorded commit

saphan show

Return a registered order's exact bytes from its recorded commit

saphan show <ref> [flags]

Resolves slug@<hex> (at least 12 lowercase hex characters), a full 64-character digest with or without its slug, then reads the document from the COMMIT stored in its registration. Text format writes only the exact document bytes to stdout and metadata to stderr; JSON carries metadata plus the bytes in base64. A bare short digest is a usage error.

Options

OptionTypeDefaultDescription
--formatstringunsetoutput format: text|json (default: text; global --json/--output-format json also supported)

On this page