(cmd *cobra.Command, args []string, toComplete string)
| 122 | } |
| 123 | |
| 124 | func logsShellComplete(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) { |
| 125 | // show container names (TODO: only show containers with logs) |
| 126 | return completion.ContainerNames(cmd, nil) |
| 127 | } |
| 128 | |
| 129 | // Attempts to parse the argument given to `-n/--tail` as a uint. |
| 130 | func getTailArgAsUint(arg string) (uint, error) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…