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

refactor: default config directory#109

Merged
m-rots merged 2 commits into
masterfrom
config-path
Apr 5, 2021
Merged

refactor: default config directory#109
m-rots merged 2 commits into
masterfrom
config-path

Conversation

@l3uddz

@l3uddz l3uddz commented Apr 5, 2021

Copy link
Copy Markdown
Member

No description provided.

l3uddz added 2 commits April 5, 2021 11:54
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