Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "ttn", Short: "The Things Network's backend servers", Long: `ttn launches The Things Network's backend servers`, PersistentPreRun: func(cmd *cobra.Command, args []string) { var logLevel = log.InfoLevel if viper.GetBool("debug") { logLevel = log.DebugLevel } ctx = &log.Logger{ Level: logLevel, Handler: cliHandler.New(os.Stdout), } }, }
RootCmd is executed when ttn is executed without a subcommand
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.