KiBot/tests/yaml_samples/int_bom_var_rename_1_csv.ki...

56 lines
1.1 KiB
YAML

# Example KiBot config file
kibot:
version: 1
filters:
- name: 'Variant rename'
type: var_rename
# Empty will default to :
separator: ''
variant_to_value: true
variants:
- name: 'production'
comment: 'Production variant'
type: kibom
file_id: '_(PROD)'
variant: PROD
pre_transform: 'Variant rename'
- name: 'development'
comment: 'Development variant'
type: kibom
file_id: '_(DEV)'
variant: DEV
pre_transform: 'Variant rename'
outputs:
- name: 'bom_internal_production'
comment: "Bill of Materials in CSV format for production"
type: bom
dir: BoM
options:
variant: production
columns:
- Row
- References
- Value
- Description
- Manufacturer
- Manufacturer Part Number
- name: 'bom_internal_test'
comment: "Bill of Materials in CSV format for development"
type: bom
dir: BoM
options:
variant: development
columns:
- Row
- References
- Value
- Description
- Manufacturer
- Manufacturer Part Number