自动发现项目上下文
(cls, cwd: str, current_date: str)
| 250 | |
| 251 | @classmethod |
| 252 | def discover(cls, cwd: str, current_date: str) -> "ProjectContext": |
| 253 | """自动发现项目上下文""" |
| 254 | instruction_files = discover_instruction_files(cwd) |
| 255 | return cls( |
| 256 | cwd=cwd, |
| 257 | current_date=current_date, |
| 258 | instruction_files=instruction_files, |
| 259 | ) |
| 260 | |
| 261 | @classmethod |
| 262 | def discover_with_git(cls, cwd: str, current_date: str) -> "ProjectContext": |
no test coverage detected