initContext method

Future<void> initContext()

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);
}