wms lego export¶
Write your collection (or one set's missing parts) for another tool
rebrickable-csv Part,Color,Quantity: Rebrickable's parts list, and what wms lego import-parts reads back
bricklink-xml your parts as a BrickLink inventory (needs wms bricklink colors sync for colours)
csv / sets-csv open in Excel or LibreOffice (text that could be read as a formula is neutralised)
json everything, structured (--with-images adds each part's picture URL, embedding cached pictures)
xlsx an Excel workbook: Parts (with a picture link per row) and Sets sheets
html a printable page: open it in a browser and Print > Save as PDF
With --set N --missing it exports what that set still needs instead of what you own.
wms lego export --format <rebrickable-csv|bricklink-xml|csv|sets-csv|json|xlsx|html> [-o file] [flags]
Examples¶
wms lego export --format rebrickable-csv -o my-parts.csv
wms lego export --format html -o inventory.html
wms lego export --format csv --set 75192 --missing -o falcon-shopping.csv
wms lego export --format xlsx --set 75192 --missing --with-images -o falcon.xlsx
Options¶
--copies int copies of the set (default 1)
--discord also DM this file's download link (with a QR code) to your configured Discord bot recipient
--discord-expires duration how long the Discord link stays valid (default 2h0m0s)
--force replace the output file if it exists
--format string output format (required)
--missing export what --set still needs instead of what you own
-o, --out string write to this file (default: print it)
--set string with --missing: the set whose missing parts to export
--with-images add picture links to each part (json, xlsx, html); cached pictures are embedded