Config File Gathering
- I'll spare you the code here, because there's nothing fancy happening.
- We start at the current working directory, and look for a file called
.tracker.json
. - We walk up the whole directory tree up to the root dir, looking for more files called
.tracker.json
in each directory. - All found config files are merged (using the wonderful
Hash::Merge
) - At last, we merge a default config file located in
~/.TimeTracker/tracker.json