config

package
v0.0.1-20230330-0003 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 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.GenerateConfigFromMemory(); _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