/FileExtraction/Java_unseen/asarkar_spring/template-resolver/src/main/java/org/abhijitsarkar/TemplateResolverApp.java
package org.abhijitsarkar;

import lombok.RequiredArgsConstructor;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@RequiredArgsConstructor
public class TemplateResolverApp implements CommandLineRunner {
    private final TemplateResolverService templateResolverSvc;

    public static void main(String[] args) {
        SpringApplication.run(TemplateResolverApp.class, args);
    }

    @Override
    public void run(String... args) throws Exception {
        templateResolverSvc.resolve();
    }
}
