Start timing a build command
(self, command_name)
| 34 | self.logger = logger or print |
| 35 | |
| 36 | def start_command(self, command_name): |
| 37 | """Start timing a build command""" |
| 38 | self.current_command = command_name |
| 39 | self.start_times[command_name] = time.time() |
| 40 | self.logger(f"Starting '{command_name}' at {datetime.now().strftime('%H:%M:%S')}") |
| 41 | |
| 42 | def end_command(self, command_name): |
| 43 | """End timing a build command""" |
no test coverage detected