Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "kelp", Short: rootShort, Long: rootLong, Example: kelpExamples, Run: func(ccmd *cobra.Command, args []string) { intro := ` __ _______ _ ____ ___ __ __ _____ _____ ___ _ _______ _ ____ \ \ / / ____| | / ___/ _ \| \/ | ____| |_ _/ _ \ | |/ / ____| | | _ \ \ \ /\ / /| _| | | | | | | | | |\/| | _| | || | | | | ' /| _| | | | |_) | \ V V / | |___| |__| |__| |_| | | | | |___ | || |_| | | . \| |___| |___| __/ \_/\_/ |_____|_____\____\___/|_| |_|_____| |_| \___/ |_|\_\_____|_____|_| cli=` + version + ` gui=` + guiVersion + ` ` fmt.Println(intro) if buildType == "gui" { serverCmd.Run(ccmd, args) } else if buildType == "cli" { e := ccmd.Help() if e != nil { panic(e) } } else { panic(fmt.Sprintf("unrecognized buildType: %s", buildType)) } }, }
RootCmd is the main command for this repo
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.