ptarmiganlabs / butler-icon-upload

Automatically upload icons to Qlik Sense, including professional icon libraries such as Font Awesome
MIT License
3 stars 4 forks source link

Remove YAML config file, replace with CLI parameters #43

Closed mountaindude closed 2 years ago

mountaindude commented 2 years ago

Is your feature request related to a problem? Please describe. It doesn't really make sense to have both a config file and command line parameters.

Move the few settings in the config file to CLI parameters instead. This will be a breaking change.

The config file settings are

iconUploader:
  # Possible log levels are silly, debug, verbose, info, warn, error
  logLevel: info

  # Info needed to connect to the repository service (QRS)
  qrs:
    host: <Sense host where QRS is running>
    clientCertPath: /path/to/client/certificate/client.pem
    clientCertKeyPath: /path/to/client/certificate/client_key.pem