21#ifndef COMMAND_EXPORT_SCH_BOM_H
22#define COMMAND_EXPORT_SCH_BOM_H
29#define ARG_PRESET "--preset"
30#define ARG_PRESET_DESC "Use a named BOM preset setting from the schematic, e.g. " \
31 "\"Grouped By Value\"."
33#define ARG_FMT_PRESET "--format-preset"
34#define ARG_FMT_PRESET_DESC "Use a named BOM format preset setting from the schematic, e.g. CSV."
37#define ARG_FIELD_DELIMITER "--field-delimiter"
38#define ARG_FIELD_DELIMITER_DESC "Separator between output fields/columns."
40#define ARG_STRING_DELIMITER "--string-delimiter"
41#define ARG_STRING_DELIMITER_DESC "Character to surround fields with."
43#define ARG_REF_DELIMITER "--ref-delimiter"
44#define ARG_REF_DELIMITER_DESC "Character to place between individual references."
46#define ARG_REF_RANGE_DELIMITER "--ref-range-delimiter"
47#define ARG_REF_RANGE_DELIMITER_DESC "Character to place in ranges of references. Leave " \
48 "blank for no ranges."
50#define ARG_KEEP_TABS "--keep-tabs"
51#define ARG_KEEP_TABS_DESC "Keep tab characters from input fields. Stripped by default."
53#define ARG_KEEP_LINE_BREAKS "--keep-line-breaks"
54#define ARG_KEEP_LINE_BREAKS_DESC "Keep line break characters from input fields. Stripped " \
58#define ARG_FIELDS "--fields"
59#define ARG_FIELDS_DESC \
60 "An ordered list of fields to export. See documentation for special substitutions."
62#define ARG_LABELS "--labels"
63#define ARG_LABELS_DESC "An ordered list of labels to apply the exported fields."
65#define ARG_GROUP_BY "--group-by"
66#define ARG_GROUP_BY_DESC "Fields to group references by when field values match."
68#define ARG_SORT_FIELD "--sort-field"
69#define ARG_SORT_FIELD_DESC "Field name to sort by."
71#define ARG_SORT_ASC "--sort-asc"
72#define ARG_SORT_ASC_DESC "Sort ascending (true) or descending (false)."
74#define ARG_FILTER "--filter"
75#define ARG_FILTER_DESC "Filter string to remove output lines."
77#define ARG_EXCLUDE_DNP "--exclude-dnp"
78#define ARG_EXCLUDE_DNP_DESC "Exclude symbols marked Do-Not-Populate."
80#define ARG_INCLUDE_EXCLUDED_FROM_BOM "--include-excluded-from-bom"
81#define ARG_INCLUDE_EXCLUDED_FROM_BOM_DESC "Include symbols marked 'Exclude from BOM'."
int doPerform(KIWAY &aKiway) override
The internal handler that should be overloaded to implement command specific processing and work.
std::vector< wxString > convertStringList(const wxString &aList)
A minimalistic software bus for communications between various DLLs/DSOs (DSOs) within the same KiCad...