config

package
v1.1.9 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package config

Copyright © 2023 zcubbs https://github.com/zcubbs

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:   "config",
	Short: "List cli configuration",
	Long:  ``,
	Run: func(cmd *cobra.Command, args []string) {
		jsonConfig, err := json.MarshalIndent(&configs.Config, "", "  ")
		if err != nil {
			fmt.Println(err)
			return
		}
		fmt.Printf("%v\n", string(jsonConfig))
	},
}

Cmd represents the config command

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