showLast updated on
Last updated on
Display artifact content
Shows details about an artifact file.
Usage
ofm show <artifact> [options]Arguments
| Argument | Description |
|---|---|
artifact | Path to artifact file |
Options
| Option | Description |
|---|---|
--raw | Show raw file content without parsing |
--deps | Show file dependencies |
Description
The show command parses an artifact file and displays its structure in a human-readable format. It shows metadata, content references (instructions, agentInstructions), fields (for forms), items (for checklists), contents (for bundles), and layers.
Content references are displayed after the description. Inline references show a truncated preview; file references show the path, MIME type, and checksum status.
The --deps flag lists all file dependencies, including file-backed layer paths and content reference paths, with a check mark indicating whether each file exists.
Examples
Show artifact details:
ofm show my-form.yamlShow raw content:
ofm show my-form.yaml --rawShow with file dependencies:
ofm show my-form.yaml --depsOutput
For a form artifact:
Artifact: lease-agreement
Kind: form
Version: 1.0.0
Title: Residential Lease Agreement
Description:
Standard residential lease agreement
Instructions: ./instructions.md [text/markdown, checksum]
Agent instructions: [inline] Use standard completion flow for all...
Fields:
* address (address)
* monthlyRent (money)
startDate (date)
endDate (date)
Layers:
- pdf (file)
- markdown (inline)
File: my-form.yamlFor a checklist:
Artifact: property-inspection
Kind: checklist
Version: 1.0.0
Title: Property Inspection Checklist
Items:
□ Check smoke detectors
□ Inspect HVAC system
□ Test plumbing
File: inspection.yamlWith dependencies:
File dependencies:
✓ ./lease-template.pdf
✓ ./instructions.md
✗ ./missing-file.txt
File: my-form.yaml