npryce / adr-tools

Command-line tools for working with Architecture Decision Records
Other
4.53k stars 578 forks source link

Allow system, global and local config, similar to how git configs are loaded #105

Open JonTheNiceGuy opened 3 years ago

JonTheNiceGuy commented 3 years ago

Allow system, global and local config, similar to git configs

Viable config file paths are:

This change relies on _adr_dir not trying to load config, so it also incorporates this removal, even though this may have been removed in another branch/PR.

Tests are included. If it's not possible to run sudo based tests in the CI/CD system, then these should be removed.