Skip to content

Instantly share code, notes, and snippets.

@lynas
Created October 18, 2019 09:28
Show Gist options
  • Save lynas/73dd2bc3f17b77ba1b6e02ca08f3ed75 to your computer and use it in GitHub Desktop.
Save lynas/73dd2bc3f17b77ba1b6e02ca08f3ed75 to your computer and use it in GitHub Desktop.
Spring Command Line Runner JAVA Kotlin
@Bean
public CommandLineRunner init() {
return args -> {
};
}
@Bean
fun init() = CommandLineRunner {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment