Documentation
¶
Overview ¶
Package cli command line interface
Index ¶
Constants ¶
View Source
const AUTHOR = "Yaacov Zamir <kobi.zamir@gmail.com>"
AUTHOR the author name and Email
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "mohawk", Long: fmt.Sprintf(`Mohawk is a metric data storage engine. Mohawk is a metric data storage engine that uses a plugin architecture for data storage and a simple REST API as the primary interface. Version: %s Author: %s`, server.VER, AUTHOR), Run: func(cmd *cobra.Command, args []string) { if viper.GetBool("version") { fmt.Printf("Mohawk version: %s\n\n", server.VER) return } server.Serve() }, }
RootCmd Mohawk root cli Command
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.