binName returns the name of the binary / root command (usually 'docker').
(cmd *cobra.Command)
| 101 | |
| 102 | // binName returns the name of the binary / root command (usually 'docker'). |
| 103 | func binName(cmd *cobra.Command) string { |
| 104 | return cmd.Root().Name() |
| 105 | } |
| 106 | |
| 107 | //nolint:unparam |
| 108 | func pluralize(word string, number int) string { |
no test coverage detected
searching dependent graphs…