HasAvailableFlags checks if the command contains any flags (local plus persistent from the entire structure) which are not hidden or deprecated.
()
| 1820 | // HasAvailableFlags checks if the command contains any flags (local plus persistent from the entire |
| 1821 | // structure) which are not hidden or deprecated. |
| 1822 | func (c *Command) HasAvailableFlags() bool { |
| 1823 | return c.Flags().HasAvailableFlags() |
| 1824 | } |
| 1825 | |
| 1826 | // HasAvailablePersistentFlags checks if the command contains persistent flags which are not hidden or deprecated. |
| 1827 | func (c *Command) HasAvailablePersistentFlags() bool { |
no test coverage detected