cmd

package
v0.0.0-...-b68b127 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckConfigFileCmdRun

func CheckConfigFileCmdRun(cmd *cobra.Command, args []string)

func Common

func Common(cmd *cobra.Command, args []string, logToGlog bool) *viper.Viper

func CreateConfigFileCmdRun

func CreateConfigFileCmdRun(cmd *cobra.Command, args []string)

func CreateSuperUserCmdRun

func CreateSuperUserCmdRun(cmd *cobra.Command, args []string)

func HypCoreCmdRun

func HypCoreCmdRun(cmd *cobra.Command, args []string)

func RunServerCmdRun

func RunServerCmdRun(cmd *cobra.Command, args []string)

func ShellCmdRun

func ShellCmdRun(cmd *cobra.Command, args []string)

Types

type HyperCoreCMD

type HyperCoreCMD struct {
	HyperCoreRootCMD *cobra.Command
	VersionCMD       *cobra.Command

	RunServerCMD *cobra.Command
	ServerCMD    *cobra.Command

	CheckConfigFileCMD  *cobra.Command
	CreateConfigFileCMD *cobra.Command
	ConfigFileCMD       *cobra.Command

	CreateSuperUserCMD *cobra.Command

	AuthorsCMD *cobra.Command
	ShellCMD   *cobra.Command
}

func (*HyperCoreCMD) Execute

func (hcc *HyperCoreCMD) Execute()

func (*HyperCoreCMD) LoadDefaultsIfNil

func (hcc *HyperCoreCMD) LoadDefaultsIfNil()

Load defaults command if not set explicitly

func (*HyperCoreCMD) Setup

func (hcc *HyperCoreCMD) Setup()

Jump to

Keyboard shortcuts

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