Load CodeWiki configuration from ~/.codewiki/config.json + keyring.
()
| 439 | # =================================================================== |
| 440 | |
| 441 | def _load_config(): |
| 442 | """Load CodeWiki configuration from ~/.codewiki/config.json + keyring.""" |
| 443 | from codewiki.cli.config_manager import ConfigManager |
| 444 | manager = ConfigManager() |
| 445 | if not manager.load(): |
| 446 | raise RuntimeError( |
| 447 | "CodeWiki not configured. Run 'codewiki config set' first." |
| 448 | ) |
| 449 | return manager |
| 450 | |
| 451 | |
| 452 | async def _legacy_generate_docs(arguments: dict[str, Any]) -> list[TextContent]: |
no test coverage detected