markh-de / KiVar

PCB Assembly Variants for KiCad
MIT License
29 stars 0 forks source link

Add output file option to avoid overwriting original board #69

Closed markh-de closed 3 months ago

markh-de commented 3 months ago

Currently, the CLI app always overwrites the original file. This is similar to the Action Plugin, which acts on the working board data.

However, for some use-cases it might be useful to create a set of boards, each with a different variant (e.g. for CI or multiple outputs). Currently this requires copying the original file beforehand.

Add an --output / -o option to change the name of the output file to something different than the original file name.

markh-de commented 3 months ago

Implemented on main branch: 9e9ea1ec927906fd4530ba38c983eafcc2366b97