title: Laravel/Artisan Error : Making a custom command
body: <p>Newbie here. I am having trouble with my command. i have created a single laravel project with two database migration.
  I have followed this <a href="https://stackoverflow.com/questions/26654846/use-one-laravel-migrations-table-per-database">link</a> to be able to accomplished my goal.</p>
  
  <p>I run this code to migrate my migration in my table:</p>
  
  <pre><code>php artisan migrate --database=rms_conn --path=database/migrations/rms_conn
  </code></pre>
  
  <p>Now that i was migrated successfully. Now i am trying to refresh it with the command below :</p>
  
  <pre><code>php artisan migrate:refresh --database=rms_conn --path=database/migrations/rms_conn
  </code></pre>
  
  <p>I am getting an error that the <code>--path doesn't exist</code>. So can anyone help me how to run refresh,rollback in my two database? I am using laravel 5.0 this time.</p>
  
  <p>I need to run the command above in my Command Class</p>
  
  <pre><code>public function fire()
      {
      $action = $this-&gt;argument('action');
  
      switch ($action) {
          case 'migrate':
                  $conn = $this-&gt;argument('connection');
                  $database = Config::get('database.connections.'.$conn.'.database');
                  $this-&gt;info('Migrating "'.$conn.'" Connections. [ Database : '.$database." ]");
                  $this-&gt;call('migrate', array('--database' =&gt; $conn , '--path' =&gt; 'database/migrations/' . $conn ));
              break;
  
          case 'refresh':
                  $conn = $this-&gt;argument('connection');
                  $database = Config::get('database.connections.'.$conn.'.database');
                  $this-&gt;info('Migrate refreshing "'.$conn.'" Connections. [ Database : '.$database." ]");
                  $this-&gt;call('migrate:refresh', array('--database' =&gt; $conn , '--path' =&gt; 'database/migrations/' . $conn ));
                  #I am having an error on the line above. :(
  
          default:
              $this-&gt;error("Cannot found your action.");
              break;
      }
  
  
  }
  </code></pre>