(cmd *cobra.Command, args []string)
| 43 | } |
| 44 | |
| 45 | func logsClearCommand(cmd *cobra.Command, args []string) { |
| 46 | err := os.RemoveAll(cfg.LocalLogDir()) |
| 47 | if err != nil { |
| 48 | Panic(err, tr.Tr.Get("Error clearing %s", cfg.LocalLogDir())) |
| 49 | } |
| 50 | |
| 51 | Print(tr.Tr.Get("Cleared %s", cfg.LocalLogDir())) |
| 52 | } |
| 53 | |
| 54 | func logsBoomtownCommand(cmd *cobra.Command, args []string) { |
| 55 | tracerx.Printf("Sample trace message") |
nothing calls this directly
no test coverage detected