vaclavsvejcar / headroom

©️ Manager for license headers in source code files.
https://doc.norcane.com/headroom/latest/
BSD 3-Clause "New" or "Revised" License
48 stars 3 forks source link

Allow workflow without .headroom.yaml #40

Closed vaclavsvejcar closed 4 years ago

vaclavsvejcar commented 4 years ago

Since the version 0.2.0.0, application configuration is implemented using the partial options monoid pattern and Headroom contains following levels of configuration, where the next one overrides the previous one:

  1. default configuration in embedded/default-config.yaml
  2. custom configuration in .headroom.yaml
  3. command line arguments

Right now, the presence of .headroom.yaml is required. However, it might useful for some users to give them option not to have the YAML file and provide all required values using command line arguments.