export

command
v1.0.0-alpha.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2026 License: MIT Imports: 9 Imported by: 0

README

export

Parses an Agentfile, builds the OCI artifact in memory, and exports it as a self-contained JSON file. The JSON contains the full OCI manifest, config blob, and all layers — useful for offline transfer or inspection without a registry.

Usage

go run ./examples/export/ <path-to-Agentfile> <output.json>

Example

go run ./examples/export/ demo/meteo/Agentfile meteo.json
exported sha256:f99f92eb... → meteo.json (8118 bytes)

Documentation

Overview

Export parses an Agentfile, builds the OCI artifact, and exports it to a JSON file.

Usage:

go run ./examples/export/ <path-to-Agentfile> <output.json>

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL