(cmd *cobra.Command, args []string)
| 17 | } |
| 18 | |
| 19 | func logsLastCommand(cmd *cobra.Command, args []string) { |
| 20 | logs := sortedLogs() |
| 21 | if len(logs) < 1 { |
| 22 | Print(tr.Tr.Get("No logs to show")) |
| 23 | return |
| 24 | } |
| 25 | |
| 26 | logsShowCommand(cmd, logs[len(logs)-1:]) |
| 27 | } |
| 28 | |
| 29 | func logsShowCommand(cmd *cobra.Command, args []string) { |
| 30 | if len(args) == 0 { |
nothing calls this directly
no test coverage detected