HasAvailableInheritedFlags checks if the command has flags inherited from its parent command which are not hidden or deprecated.
()
| 1837 | // HasAvailableInheritedFlags checks if the command has flags inherited from its parent command which are |
| 1838 | // not hidden or deprecated. |
| 1839 | func (c *Command) HasAvailableInheritedFlags() bool { |
| 1840 | return c.InheritedFlags().HasAvailableFlags() |
| 1841 | } |
| 1842 | |
| 1843 | // Flag climbs up the command tree looking for matching flag. |
| 1844 | func (c *Command) Flag(name string) (flag *flag.Flag) { |
no test coverage detected