Config file parent directories lookup
kdeldycke opened this issue · 2 comments
kdeldycke commented
kdeldycke commented
This would be an parameter to the --config
decorator, that could be named recursive_parent_search=False
or something like that.
It would work by looking for the same pattern file (like *.{yaml,json,ini}
) in the parent directory if the current one does not contain the configuration file. And again in the parent's parent directory is not found. Until we do not have access to the directory or reach the root.