how to create spring boot project from CLI with custom package name instead of “com.example.XXXX”


I am trying to create spring boot project from spring boot cli with command “spring init –dependencies=web TestProject”. With this ‘TestProject’ project created. And main class DemoApplication.java created with package name ‘com.example’.

I want to create spring boot project with custom packageName and main className.