Add install command

This commit is contained in:
2021-01-27 16:09:17 +03:00
parent d936350a74
commit 354f91eded
2 changed files with 23 additions and 0 deletions

View File

@@ -3,6 +3,7 @@
namespace App\Console;
use App\Commands\HelloWorld;
use App\Console\Commands\HRCInstall;
use Illuminate\Console\Scheduling\Schedule;
use Laravel\Lumen\Console\Kernel as ConsoleKernel;
use App\Helpers\ClassHelper;
@@ -30,6 +31,8 @@ class Kernel extends ConsoleKernel
$classes[] = ClassHelper::extract($commands_path . '/' . $file);
}
$classes[] = HRCInstall::class;
$commands = parent::getCommands();
return array_merge($commands, $classes);
}