I guess most of the users of Symfony2/Zend2 would have used various list of commands for your bundle/module with your app, it may be for installing web assets or generating entity classes for your propel/Doctrine ORM etc..
In my application, we had to start with a new module which doesnt have any pre-defined data in place, and due to some issues we had decided to add the screens at a later stage. And so to proceed further we need to have few dummy data for testing. So instead of creating a html form, i have planned to create my own console command to load dummy data. Apart from that i have to do some calculations over milliseconds as well. I am adding the code for that console command in this tip, hope it will help for those who create a new reusable bundle or generic module that can be integrated with any other web app.