The BOM (Bill of Material) netlister backend by Matthew Ettus matt@ettus.com is a Bill Of Materials generator.
It takes a configuration file which tells what component information should be output in the resulting netlist for a schematic (i.e. vendor, part number). The config file must be named attribs and be in the current working directory. The user has to specify what attributes should be output.
Sample config file contents:
footprint device
To make BOM, just do:
lepton-netlist -g bom2 -o schematic.out schematic.sch
Sample output file contents:
refdes:footprint:device:qty S1/C2:sm1206:CAPACITOR:1 S2/R1:sm0805:RESISTOR:1