I moved a command to a new directory in laravel, since doing this I cant seem to run the command.
workspace/project/app/Dealer
<?php
namespace App\Dealer\Commands;
use Illuminate\Console\Command;
class FindPotentialMatches extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'dealer:find-potential-matches';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Find potential matches';
/**
* Execute the console command.
*/
public function handle()
{
dump('hi'); die;
//
}
}
$ php artisan dealer:find-potential-matches
ERROR There are no commands defined in the "app" namespace.