Closed damienmas closed 1 year ago
I think both the current behavior and your suggested behavior are reasonable, but making is configurable is too niche for the main version of configargparse IMO (unless multiple people request this). In the meantime, you could subclass or fork to add the desired behavior.
Hi,
Is there a way to append multiple key values when using multiple default_config_files ?
Example:
default.yaml
user.yaml
Output:
At the end I'd like that
host
values are concatenated. is there a way to change the behavior of the parser ?Expected output:
I know it seems to be by design but just wondering if there is a way to tweak this behavior with some flags ...
from the doc (https://github.com/bw2/ConfigArgParse/blob/bca2c2fb8f13f45dea0f06d4b4c3f0b4336c2d54/configargparse.py#L694C1-L705C40):