From d2fa5dc14d5a7c0ba00297b83c9f0db2786868ea Mon Sep 17 00:00:00 2001 From: YNWA Fawzy <38886749+Cybrarist@users.noreply.github.com> Date: Wed, 2 Oct 2024 00:27:14 +0400 Subject: [PATCH] Revert "Add --force flag to allow the user to regenerate board file if it already exists #59" This reverts commit aefb1725779b1458cd9c9b66d1ee51bb432e43a7. --- src/Commands/MakeKanbanBoardCommand.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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'; } }