( IOStreams *iostreams.IOStreams, command *cobra.Command, flagsToDisplay []string, )
| 74 | } |
| 75 | |
| 76 | func (u *UsageEntries) AddFilteredFlags( |
| 77 | IOStreams *iostreams.IOStreams, |
| 78 | command *cobra.Command, |
| 79 | flagsToDisplay []string, |
| 80 | ) { |
| 81 | filteredFlags := filterFlagSet(*command.LocalFlags(), flagsToDisplay) |
| 82 | |
| 83 | u.AddFlags(IOStreams, command, filteredFlags.FlagUsages()) |
| 84 | } |
| 85 | |
| 86 | func (u *UsageEntries) AddInheritedFlags(IOStreams *iostreams.IOStreams, command *cobra.Command) { |
| 87 | cs := IOStreams.ColorScheme() |
no test coverage detected