Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "show", Short: "show", Run: func(cmd *cobra.Command, args []string) { config.Read() settings := viper.AllSettings() fmt.Println(settings) data, err := toml.Marshal(settings) if err != nil { log.Error(err) return } fmt.Println(string(data)) }, }
Cmd is the command for the cli tool
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.