Takes a list like
<farnell> [mouser] <qty> [arbitrary notes]
<farnell> [mouser] <qty> [arbitrary notes]
and outputs useful markdown / csv lists and things
Is ruby because nokogiri and parallel
sudo apt-get install ruby-dev libxslt-dev libxml2-dev
sudo gem install nokogiri parallel
or something. sorry
parts
--> Parts.md
in the directory ruby is run from.
Also generates farnell.csv
and mouser.csv
for use with BOM import
tools.
Lines that meet the above specification will be replaced by lines from a markdown table. Other lines get preserved
| Part | Description | Farnell # | Quantity Required | Notes
| --- | --- | --- | --- | ---
If you put this table header first you'll get a nice table that renders on github etc. Yay!
git submodules seem like a good idea here