Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "encore", Short: "encore is the fastest way of developing backend applications", SilenceErrors: true, CompletionOptions: cobra.CompletionOptions{ HiddenDefaultCmd: true, }, PersistentPreRun: func(cmd *cobra.Command, args []string) { level := zerolog.InfoLevel if verbosity == 1 { level = zerolog.DebugLevel } else if verbosity >= 2 { level = zerolog.TraceLevel } if verbosity >= 1 { errlist.Verbose = true } log.Logger = log.Logger.Level(level) }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.