show

package
v0.0.0-...-2b6d021 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2023 License: MPL-2.0 Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL