Bundle
Use thru abi bundle when you want a machine-readable dependency manifest rather than a flattened YAML file.
Use This When
Section titled “Use This When”- you are preparing ABI dependencies for WASM-backed or browser tooling
- you want resolved package content in one JSON artifact
- you need both local and remote imports resolved before another tool consumes them
Choose another ABI command when:
- you want a YAML output artifact: Flatten or Prep for Publish
- you want to inspect one binary payload: Reflect
Syntax
Section titled “Syntax”thru abi bundle \ --file <FILE> \ --output <FILE> \ [--include-dir <DIR>...] \ [--verbose]Output
Section titled “Output”bundle resolves dependencies and writes a pretty-printed JSON manifest that maps packages to resolved ABI YAML content.
Minimal Pattern
Section titled “Minimal Pattern”thru abi bundle \ --file ./program.abi.yaml \ --include-dir ./abi \ --output ./dist/program.manifest.json \ --verbosebundleis the ABI command most clearly aimed at downstream tooling rather than human review.- Verbose mode prints the resolved package count and package names before writing the manifest.
- If your task only needs a local, publish-ready YAML file,
bundleis usually more output than you need.