cli.LoadConfig accepts config file now
This commit is contained in:
parent
adb55bcfe9
commit
0363e58467
3 changed files with 62 additions and 13 deletions
|
@ -43,7 +43,7 @@ func main() {
|
|||
NoColor: !colors,
|
||||
})
|
||||
|
||||
if err := cli.LoadConfig(""); err != nil {
|
||||
if err := cli.LoadConfig("", false); err != nil {
|
||||
log.Fatal().Caller().Err(err)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue