Skip to content

Bundle

View as Markdown

Use thru abi bundle when you want a machine-readable dependency manifest rather than a flattened YAML file.

  • 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:

Terminal window
thru abi bundle \
--file <FILE> \
--output <FILE> \
[--include-dir <DIR>...] \
[--verbose]

bundle resolves dependencies and writes a pretty-printed JSON manifest that maps packages to resolved ABI YAML content.

Terminal window
thru abi bundle \
--file ./program.abi.yaml \
--include-dir ./abi \
--output ./dist/program.manifest.json \
--verbose
  • bundle is 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, bundle is usually more output than you need.