Skip to content

Commit

Permalink
Print config location on first launch
Browse files Browse the repository at this point in the history
  • Loading branch information
raitonoberu committed Jul 16, 2022
1 parent 6030054 commit de47bdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ var rootCmd = &coral.Command{
if !cmd.Flags().Changed("config") && errors.Is(err, os.ErrNotExist) {
conf = config.New()
fmt.Print(banner + "\n")
fmt.Printf("Config will be stored in %s\n", config.Directory)
fmt.Printf("Config file location: %s\n", config.Path)
config.Save(conf)
} else {
return fmt.Errorf("couldn't load config: %w", err)
Expand Down

0 comments on commit de47bdd

Please sign in to comment.