The command should take an entity and:
- Generate the admin definition with all the views it needs
- Generate the controller to for CRUD actions
- Generate routing with it (use attributes instead of fos routing)
- Generate a list view (xml) for the entity
(maybe more, I've forgotten. There are so many steps to getting an entity to work.)
Optional:
Suggest on how to implement an entity selection as a content type