I\'m writing an open source application uses some Symfony components, and using Symfony Console component for interacting with shell.
But, i need to inject dependen
I'm speaking for symfony2.8. You cannot add a constructor to the class that extends the ContainerAwareCommand because the extended class has a $this->getContainer() which got you covered in getting your services instead of injecting them via the constructor.
You can do $this->getContainer()->get('service-name');