(self, options: str)
| 196 | @param options the command to be ran. |
| 197 | """ |
| 198 | def __run(self, options: str): |
| 199 | if len(self.targets) == 0: |
| 200 | raise CommandException("No targets added.") |
| 201 | if len(options) == 0: |
| 202 | raise CommandException("No command specified.") |
| 203 | |
| 204 | try: |
| 205 | print(f"{self.targets[0]['name']}: ") |
| 206 | self.targets[0]["processor"].process_command(options) |
| 207 | except CommandException as e: |
| 208 | print(str(e)) |
| 209 | |
| 210 | for target in self.targets[1:]: |
| 211 | try: |
| 212 | print("-" * 80) |
| 213 | print(f"{target['name']}: ") |
| 214 | target["processor"].process_command(options) |
| 215 | except CommandException as e: |
| 216 | print(str(e)) |
| 217 | |
| 218 | """ |
| 219 | @brief See base class for details. |
nothing calls this directly
no test coverage detected