HasParent determines if the command is a child command.
()
| 1675 | |
| 1676 | // HasParent determines if the command is a child command. |
| 1677 | func (c *Command) HasParent() bool { |
| 1678 | return c.parent != nil |
| 1679 | } |
| 1680 | |
| 1681 | // GlobalNormalizationFunc returns the global normalization function or nil if it doesn't exist. |
| 1682 | func (c *Command) GlobalNormalizationFunc() func(f *flag.FlagSet, name string) flag.NormalizedName { |
no outgoing calls
no test coverage detected