Skip to content

support direct directory loading #12

@anthonyrisinger

Description

@anthonyrisinger

some tools configure themselves by loading config from a directory, mapping KEYs to filenames and the value to the file contents:

# tree settings.d/DIRECTORY_/
|-- KEY1
`-- KEY2
# cat settings.d/DIRECTORY_/KEY1
value1
# cat settings.d/DIRECTORY_/KEY2
value2

results in:

>>> settings.DIRECTORY_KEY1
value1
>>> settings.DIRECTORY_KEY2
value2

some of the semantics are still debatable, like whether the directory name should even be a part of the key, but these things could be configurable via the connection string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions