config

package
v0.0.1-20230117-0002 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2023 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GenerateDefaultConfig = &command.AddCmd{
	GeneratePID: false,
	LockProcess: false,
	ProcessName: "generate_config",
	Cmd:         "generate:config",
	Name:        "Generate Default Config",
	OnExecute: func(cmd *command.AddCmd) {

		log.Println("generating config file...")
		if _err := autoloader.GenerateConfig(); _err != nil {
			log.Println("failed to generate config -> ", _err.Error())
		} else {
			log.Println("config has been generated successfully")
		}
	},
}

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