Article links
- Spring Boot CommandLineRunner Example
- How to Run a CommandLineRunner Bean Conditionally in Spring Boot
- Spring Boot 3.1.2
- Spring Data JPA
- H2 in-memory database
- Java 17
$ git clone [https://github.com/mkyong/spring-boot.git](https://github.com/mkyong/spring-boot.git)
$ cd spring-boot-commandlinerunner
$ ./mvnw spring-boot:run