This function initializes the configuration sub-directory setup by creating
a sub-directory: config.d/
in the root config/
directory to house
configuration files for different environments or purposes that can be
merged together.
Arguments
- path
Path to the configuration directory. Defaults to
inst/config
.- configs
A list of configuration lists for different environments or purposes. The list should contain named lists of configuration settings where the names represent what will be used for the name of the configuration file. See details for more information and examples.
- merge
Merge the configuration files from the
config.d/
directory into theconfig.yml
file? Defaults toTRUE
.- ignore
Add a
.gitignore
to theconfig.d/
directory to ignore the generated configuration files? Default isTRUE
.- overwrite
Overwrite the existing configuration files. Defaults to
FALSE
.- templates
Create configuration template files for each configuration file? Defaults to
FALSE
.- include_encrypted
Create encrypted configuration files for each configuration file? Defaults to
FALSE
.- ...
Additional arguments passed to other functions.