title: SpringBoot CommandLineRunner
body: <p>In what circumstances CommandLineRunner is preferred instead of writing additional code in the main method of SpringBoot application.</p>
  
  <p>I understand that CommandLineRunner gets executed before main gets completed.</p>