Metis — Export Background Pack
export_background_packWrite a pack.json manifest for an installed background layer so another machine can install it. Records layer identity and document names without copying PDFs; local files get empty URLs to fill in.
Instructions
Write a pack manifest for one of your installed background layers.
Produces the `pack.json` another machine (or another person) can install from.
It records the layer's identity and the documents it contains BY NAME; it does
not copy the PDFs, and it cannot invent a download URL for a file that came off
your own disk — those entries are written with an empty url and must be filled
in before the pack can be installed elsewhere. Saying so is the point: a
manifest that silently omitted them would look complete and install empty.
Args:
database: The layer's slug (e.g. 'ntd').
out_dir: Where to write it. Defaults to backgrounds/<slug>/ in the repo.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out_dir | No | ||
| database | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |