mirror of
https://github.com/mudler/luet.git
synced 2025-09-01 15:18:28 +00:00
Drop cfgFile print to improve bash integration
This commit is contained in:
@@ -154,7 +154,6 @@ func initConfig() {
|
|||||||
viper.SetConfigType("yaml")
|
viper.SetConfigType("yaml")
|
||||||
viper.SetConfigName(".luet") // name of config file (without extension)
|
viper.SetConfigName(".luet") // name of config file (without extension)
|
||||||
if cfgFile != "" { // enable ability to specify config file via flag
|
if cfgFile != "" { // enable ability to specify config file via flag
|
||||||
Info(">>> cfgFile: ", cfgFile)
|
|
||||||
viper.SetConfigFile(cfgFile)
|
viper.SetConfigFile(cfgFile)
|
||||||
} else {
|
} else {
|
||||||
viper.AddConfigPath(dir)
|
viper.AddConfigPath(dir)
|
||||||
|
Reference in New Issue
Block a user