Skip to content

wms lego import

One-time import of legacy KC-LEGO-CLI JSON data into the local LEGO store

wms lego import [flags]

Examples

wms lego import --collection ./0.json --ref-sets ./legolookup.json --ref-parts ./legolookup-part.json

Options

      --collection stringArray   path to a collection export JSON (0.json / kc_sets_export_*.json); repeatable, later files win on conflict
      --ref-parts string         path to legolookup-part.json (Rebrickable part catalog snapshot)
      --ref-sets string          path to legolookup.json (Rebrickable set catalog snapshot)