initContext method
Implementation
Future<void> initContext() async {
final logger = Logger();
final detector = ProjectDetector(logger: logger);
const config = AppConfig(); // Or load from file dynamically
context = await detector.detect(Directory.current.path, config);
}