Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

refactor: default config directory #109

Merged
merged 2 commits into from
Apr 5, 2021
Merged

refactor: default config directory #109

merged 2 commits into from
Apr 5, 2021

Conversation

l3uddz
Copy link
Member

@l3uddz l3uddz commented Apr 5, 2021

No description provided.

if a `config.yml` is present in the same directory as the binary, the binary path becomes the default location for the config, log and database files.

if config.yml is not found in the binary path, default to user config directory.
@l3uddz l3uddz added cmd Specifically targets the CLI / cmd module refactor A code change that neither fixes a bug nor adds a feature labels Apr 5, 2021
@m-rots m-rots self-requested a review April 5, 2021 11:44
@m-rots m-rots changed the title refactor: default config, log, database file path logic adjustment refactor: default config directory Apr 5, 2021
@m-rots m-rots added this to the 1.3 milestone Apr 5, 2021
@m-rots m-rots merged commit c1b4309 into master Apr 5, 2021
@m-rots m-rots deleted the config-path branch April 5, 2021 11:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cmd Specifically targets the CLI / cmd module refactor A code change that neither fixes a bug nor adds a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants