config

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

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	StartCmd = &cobra.Command{
		Use:     "config",
		Short:   "Generate config file",
		Example: "jframe config -p ./config.yaml -f",
		Run: func(cmd *cobra.Command, args []string) {
			fmt.Println("Generating config...")
			err := GenYamlConfig(configPath, forceGen)
			if err != nil {
				fmt.Println(err.Error())
				os.Exit(1)
			}
		},
	}
)

Functions

func GenYamlConfig

func GenYamlConfig(path string, force bool) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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