Bouni / kicad-jlcpcb-tools

Plugin to generate BOM + CPL files for JLCPCB, assigning LCSC part numbers directly from the plugin, query the JLCPCB parts database, lookup datasheets and much more.
MIT License
1.15k stars 105 forks source link

Generate production files using CLI #533

Closed avsaase closed 2 days ago

avsaase commented 4 days ago

Is your feature request related to a problem? Please describe. I want to generate production files in a GitHub Action by invoking a CLI instead of generating them from the GUI.

Describe the solution you'd like Is there a way to generate the production files using a CLI? The workflow I would like to have is where you assign the parts from the GUI and commit the SQLite database. A GitHub Action then generates the production files and creates a release. This way only source files are committed to git.

Describe alternatives you've considered Kicad provides a CLI that can generate production files but as far as I can see this does doesn't work together with the plugin.

Bouni commented 2 days ago

I recommend you use KiBot as it specifically made for that use case: https://kibot.readthedocs.io/en/master/

This plugin was never meant to be used headless so I never seperated the buissness logic from the GUI in away that I can easily allow headless usage ...