.bom addcategory "<Category Name>"
.bom setcolumn "<Category Name>" "<SectId>" "<Column>" "<Column>" "<Column>"
.bom data <Category Name>" "<SectId>" "<Column=Value>" "<Column=Value>" "<Column=Value>"
The command has three options:
.bom addcategory "Spaceships"creates a category named Spaceships.
.bom setcolumn "Spaceships" "Section1" "ShipName" "WarpSpeed" "Tonnage"
.bom data "Spaceships" "Section1" "ShipName=SpaceShipOne" "WarpSpeed=9" "Tonnage=10000"specifies that SpaceShipOne's warp speed is 9 and its tonnage is 10,000.
.bom data "Spaceships" "${SECTION}" "ShipName=${NAME}" "WarpSpeed=${SPEED}" "Tonnage=${TONNAGE}"populates the BOM with data loaded into environment variables by earlier commands.
.bom data "Spaceships" "Section1" "ShipName=Freighter" "Tonnage=20000"the system would repeat the WarpSpeed value, giving rows like these:
ShipName WarpSpeed Tonnage SpaceShipOne 9 10000 Freighter 9 20000