Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "loramote", Short: "A CLI to communicate with the LoRaMote", PersistentPreRun: func(cmd *cobra.Command, args []string) { var logLevel = log.InfoLevel if debug { logLevel = log.DebugLevel } log.SetHandler(cli.Default) log.SetLevel(logLevel) }, }
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.