diff --git a/src/Commands/MakeKanbanBoardCommand.php b/src/Commands/MakeKanbanBoardCommand.php index d4c1f7e..b16fc92 100644 --- a/src/Commands/MakeKanbanBoardCommand.php +++ b/src/Commands/MakeKanbanBoardCommand.php @@ -6,21 +6,21 @@ class MakeKanbanBoardCommand extends GeneratorCommand { + public $name = 'make:kanban'; + public $description = 'Create a filament kanban board page'; public $type = 'Kanban page'; - protected $signature = 'make:kanban {name} {--force : Force kanban board to recreated}'; - protected function getStub() { return file_exists($customPath = $this->laravel->basePath('/stubs/filament-kanban/board.stub')) ? $customPath - : __DIR__.'/../../stubs/board.stub'; + : __DIR__ . '/../../stubs/board.stub'; } protected function getDefaultNamespace($rootNamespace) { - return $rootNamespace.'\Filament\Pages'; + return $rootNamespace . '\Filament\Pages'; } }