wms lego detail¶
Export a part's or set's page with its picture (a set includes its whole parts list)
The same page as the TUI's Part / Set Detail, as a file: facts, the picture (embedded in json and html, linked in xlsx) and, for a set, every part in it with its picture link. A number with a dash (75192-1) is a set; use --set for a set number without one.
wms lego detail <part|set> --export <json|xlsx|html> [-o file] [flags]
Examples¶
wms lego detail 75192-1 --export json -o falcon.json
wms lego detail 3001 --color 4 --export html -o brick.html
Options¶
--color int Rebrickable colour id for a part's picture (default -1)
--export string json, xlsx or html (default "json")
--force replace the output file if it exists
-o, --out string write to this file (default: print it)
--set treat the number as a set