Skip to content

wms lego add-part

Add or update an owned LEGO part: details from the catalog/Rebrickable, you give colour and quantity

Looks the part up (offline catalog first, then Rebrickable) to fill in its name and category, then records how many you hold in that colour in your LEGO collection and in Part-DB (one Part-DB part per part + colour, filed under Lego > ). Colour and quantity are always yours to give.

wms lego add-part <part_num> [flags]

Examples

wms lego add-part 3001 --color red --qty 25
  wms lego add-part 3001 --color 4 --qty 25 --yes

Options

      --category string   override the category (default: the one the lookup found)
      --color string      colour name or Rebrickable colour id (required when the part has a colour list)
      --dry-run           show what would be saved and stop
      --qty int           how many you hold in total in this colour
      --yes               don't ask for confirmation