title: How can i inject dependencies to Symfony Console commands?
body: <p>I'm writing an open source application uses some Symfony components, and using Symfony Console component for interacting with shell. </p>
  
  <p>But, i need to inject dependencies (used in all commands) something like Logger, Config object, Yaml parsers.. I solved this problem with extending <code>Symfony\Component\Console\Command\Command</code> class. But this makes unit testing harder and not looks correct way. </p>
  
  <p>How can i solve this ?</p>