17 Commits

Author SHA1 Message Date
Jeff Young
e30b6398b7 ADDED: optional PDF metadata from AUTHOR and SUBJECT variables.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17289
2024-03-14 17:40:04 +00:00
Marek Roszko
675e126eae Use the new flag() shorthand for arg setup 2024-01-03 21:39:54 -05:00
Wayne Stambaugh
922aee1532 Coding policy fixes. 2023-12-20 07:17:23 -05:00
Graham Keeth
1c881bcbb8 cli: fix some extra sch plot args
- DXF doesn't support background color
- HPGL doesn't support background color
- HPGL doesn't support color themes
- HPGL doesn't support black-and-white
2023-11-23 14:23:33 +00:00
Graham Keeth
ab79977d9b cli: --exclude-pdf-property-popups is only for pdf 2023-11-21 12:06:12 +00:00
Jeff Young
3e4d5d776d Add --exclude-pdf-property-popups to schematic plotting CLI. 2023-10-22 12:33:55 +01:00
Marek Roszko
5759823ca0 Move JOB_EXPORT_SCH_PLOT to kicommon horribly pending further refactor of plotting 2023-10-02 20:48:26 -04:00
Graham Keeth
5dc62368b0 CLI: parameterize whether export job inputs are directories or files 2023-09-19 01:47:41 +00:00
Marek Roszko
11de95778b Unwrap the FROM_UTF8 macro in favor of direct function
The extern just gets annoying to try to export the func later. We also yeet TO_UTF8 to string_utils.h for parity.
2023-09-09 00:10:57 -04:00
Marek Roszko
fb8d52f19e kicad-cli: Remove -O for plot and add --pages to specify list of pages instead
--pages 1 is equivalent to -O

Fixes https://gitlab.com/kicad/code/kicad/-/issues/15402
2023-09-03 09:18:11 -04:00
Marek Roszko
aa0df6aaa4 Fill in more descriptions 2023-08-31 22:17:14 -04:00
Marek Roszko
270c195df9 Sprinkle metavars into cli descriptions 2023-08-31 22:04:25 -04:00
Marek Roszko
f357e79f77 Add --define-var / -D to the cli opts for some commands
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15437
2023-08-31 21:46:37 -04:00
Marek Roszko
b542539546 Add --drawing-sheet arg for various cli commands for overriding the project sheet
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15438
2023-08-31 19:53:23 -04:00
Marek Roszko
df0c220f2b Some small reorg of the cli class base 2023-08-31 18:56:17 -04:00
Marek Roszko
c20cc24400 Rename export classes to match the scheme 2023-08-19 11:51:50 -04:00
Marek Roszko
32f0f05a98 Rename the export cli files to the cleaner structure 2023-08-19 11:46:18 -04:00