MCPcopy Create free account
hub / github.com/carvel-dev/kapp-controller / LoggerFlags

Struct LoggerFlags

cli/pkg/kctrl/cmd/logger_flags.go:12–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10)
11
12type LoggerFlags struct {
13 Debug bool
14}
15
16func (f *LoggerFlags) Set(cmd *cobra.Command, flagsFactory cmdcore.FlagsFactory) {
17 cmd.PersistentFlags().BoolVar(&f.Debug, "debug", false, "Include debug output")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected