HasInheritedFlags checks if the command has flags inherited from its parent command.
()
| 1814 | |
| 1815 | // HasInheritedFlags checks if the command has flags inherited from its parent command. |
| 1816 | func (c *Command) HasInheritedFlags() bool { |
| 1817 | return c.InheritedFlags().HasFlags() |
| 1818 | } |
| 1819 | |
| 1820 | // HasAvailableFlags checks if the command contains any flags (local plus persistent from the entire |
| 1821 | // structure) which are not hidden or deprecated. |
nothing calls this directly
no test coverage detected