MCPcopy
hub / github.com/spf13/cobra / GlobalNormalizationFunc

Method GlobalNormalizationFunc

command.go:1682–1684  ·  view source on GitHub ↗

GlobalNormalizationFunc returns the global normalization function or nil if it doesn't exist.

()

Source from the content-addressed store, hash-verified

1680
1681// GlobalNormalizationFunc returns the global normalization function or nil if it doesn't exist.
1682func (c *Command) GlobalNormalizationFunc() func(f *flag.FlagSet, name string) flag.NormalizedName {
1683 return c.globNormFunc
1684}
1685
1686// Flags returns the complete FlagSet that applies
1687// to this command (local and persistent declared here and by all parents).

Callers 1

Calls

no outgoing calls

Tested by 1