title: Running CakePHP Shell Script
body: <p>I have created a shell script as follows</p>
  
  <pre><code>&lt;?php
  
  class EmailShell extends AppShell
  {
      public function main()
      {
          $this-&gt;out('Hello world.');
      }
  }
  </code></pre>
  
  <p>When i navigate to the <em>Console folder</em> in command line and type <strong>cake email</strong> i get the following error.</p>
  
  <pre><code>Error: Shell class EmailShell could not be found.
  #0 C:\wamp\www\gitgrow\lib\Cake\Console\ShellDispatcher.php(167): ShellDispatche
  r-&gt;_getShell('email')
  #1 C:\wamp\www\gitgrow\lib\Cake\Console\ShellDispatcher.php(69): ShellDispatcher
  -&gt;dispatch()
  #2 C:\wamp\www\gitgrow\app\Console\cake.php(33): ShellDispatcher::run(Array)
  #3 {main}
  </code></pre>