Allow multiple config files#47
Conversation
"-config" option now accepts wildcards (ie: it's processed via go's `filepath.Glob`) and multiple files with ",": docker-gen -config /example/a,/example/b,/usr/configs/*
|
I'd prefer to see |
|
Actually, globbing is the first step in the direction I'd like to have - so that multiple application provide templates and configs to single docker-gen instance and so that docker-gen automatically catch file changes and filelist changes and regenerate templates based on new configs/ |
|
I'm just not a fan of utilities doing their own glob processing of command-line arguments if it can be avoided. As for |
|
You could just poll on selected interval for anything ;) |
|
I just opened an alternate PR at #84 that supports passing the |
|
Closing this in favor of #84. |
"-config" option now accepts wildcards (ie: it's processed via
go's
filepath.Glob) and multiple files with ",":