Closed timetravel-1010 closed 5 months ago
Added support to look for the config file in the $XDG_CONFIG_HOME path using the os package.
I've also updated the documentation in the necessary files, I think.
Implements #194
The test suite ran successfully.
I didn't add any unit test in the config_test.go file. I tested (on Ubuntu) putting the .dblab.yaml in my $XDG_CONFIG_HOME path though.
config_test.go
.dblab.yaml
Just test this out locally. It worked out!! Thanks @timetravel-1010!
Just test this out locally.
It worked out!!
Thanks @timetravel-1010!
You're welcome, happy to help/
P.D: I think #194 can be closed now.
Description
Added support to look for the config file in the $XDG_CONFIG_HOME path using the os package.
I've also updated the documentation in the necessary files, I think.
Implements #194
Type of change
How Has This Been Tested?
The test suite ran successfully.
I didn't add any unit test in the
config_test.go
file. I tested (on Ubuntu) putting the.dblab.yaml
in my $XDG_CONFIG_HOME path though.Checklist: