diff options
Diffstat (limited to 'client/go/cmd/config.go')
-rw-r--r-- | client/go/cmd/config.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/client/go/cmd/config.go b/client/go/cmd/config.go index 6d25f33d07c..9435a97d999 100644 --- a/client/go/cmd/config.go +++ b/client/go/cmd/config.go @@ -5,11 +5,12 @@ package cmd import ( + "os" + "path/filepath" + "github.com/spf13/cobra" "github.com/spf13/viper" "github.com/vespa-engine/vespa/util" - "os" - "path/filepath" ) func init() { @@ -25,6 +26,7 @@ var configCmd = &cobra.Command{ } func readConfig() { + // TODO: Make ~/.vespa a directory so that we can put other files there as well home, err := os.UserHomeDir() configName := ".vespa" configType := "yaml" |