title: Unable to use console in ZF2
body: <p>I'm trying to access a function from my controller, using the console. It's a small application, so i only have one controller, 'IndexController'. The action i'm trying to reach is the 'buildSchemeAction'.</p>
  
  <p>As i understand, you have to add routes in your "module.config.php" file, which i did as followed :</p>
  
  <pre><code>return array(
      'console' =&gt; array (
          'router' =&gt; array (
              'routes' =&gt; array (
                  'build-scheme' =&gt; array (
                      'options' =&gt; array (
                          'route' =&gt; 'build-scheme',
                          'defaults' =&gt; array (
                              'controller' =&gt; 'Application\Controller\Index',
                              'action' =&gt; 'build-scheme'
                          )
                      )
                  )
              )
          )
      ), ..//
  </code></pre>
  
  <p>My Controller function looks like this :</p>
  
  <pre><code>public function buildSchemeAction()
  {
    // logic here
  }
  </code></pre>
  
  <p>When i enter the following in console :</p>
  
  <pre><code>php index.php build-scheme
  </code></pre>
  
  <p>i get :</p>
  
  <pre><code>Zend Framework 2.2.5 application
  Usage:
  
  Reason for failure: Invalid arguments or no arguments provided
  </code></pre>
  
  <p>I've been searching the web, but can't find anything. Am i missing something?</p>