Default Configuration File

~/etc/labelpicker.yml

General Config Parameters

activate_foreign_changes: <true/false> -> default:false

case_conversion:
  label: <lower/upper> 
  value: <lower/upper>

The case_conversion parameters are optional and apply to all datasources. They can also be set individually at datasource level, which then overwrites the general configuration.

Example:

# ---------------
# General config |
# ---------------
case_conversion:
  # labelkey
  label: lower

datasources:
 # Datasource: CSV
  csv_example:
    module: lpds_csv
    label_prefix: csv
    case_conversion:
      label: upper # <--overwrite general config
    csv_files:
      - /tmp/csv_label_example.csv

General Datasource Parameters

datasources:
  <custom id of the datasource>:
    module: <lpds_hwswtree / lpds_vsphere / lpds_csv>
    label_prefix: <custom prefix>