Closed thehanimo closed 2 years ago
I believe this may be the last major blocker to publishing this project.
Do we access the config file from the user's home directory? Should this be configurable? If so, how? Also, should we create a default (different from in-built defaults) config file on the first run or just keep checking for the existence of one in this path?
By default, yes. It should be configurable using --config
, but a default of (the XDG config directory + repo-report.json, $HOME/.repo-report.json) seems good to me.
The default one should be hardcoded in this repo, and the user’s config should always be merged with the default.
All config values used inside should be a from the result of merging these two.