Main entry point.
()
| 222 | |
| 223 | |
| 224 | async def main(): |
| 225 | """Main entry point.""" |
| 226 | try: |
| 227 | # Set a nice theme |
| 228 | set_theme("default") |
| 229 | |
| 230 | await demo_tool_execution() |
| 231 | |
| 232 | except KeyboardInterrupt: |
| 233 | output.warning("\nDemo interrupted by user") |
| 234 | except Exception as e: |
| 235 | output.error(f"Demo error: {e}") |
| 236 | import traceback |
| 237 | |
| 238 | traceback.print_exc() |
| 239 | |
| 240 | |
| 241 | if __name__ == "__main__": |
no test coverage detected