mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Fix command alias registration and usage
This commit is contained in:
@@ -19,7 +19,8 @@
|
||||
"illuminate/support": "^10.45|^11.0",
|
||||
"league/csv": "^9.14",
|
||||
"openspout/openspout": "^4.23",
|
||||
"spatie/laravel-package-tools": "^1.9"
|
||||
"spatie/laravel-package-tools": "^1.9",
|
||||
"symfony/console": "^6.0|^7.0"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
|
||||
@@ -3,7 +3,9 @@
|
||||
namespace Filament\Actions\Commands\Aliases;
|
||||
|
||||
use Filament\Actions\Commands;
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
#[AsCommand(name: 'filament:exporter')]
|
||||
class MakeExporterCommand extends Commands\MakeExporterCommand
|
||||
{
|
||||
protected $hidden = true;
|
||||
|
||||
@@ -3,7 +3,9 @@
|
||||
namespace Filament\Actions\Commands\Aliases;
|
||||
|
||||
use Filament\Actions\Commands;
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
#[AsCommand(name: 'filament:importer')]
|
||||
class MakeImporterCommand extends Commands\MakeImporterCommand
|
||||
{
|
||||
protected $hidden = true;
|
||||
|
||||
@@ -6,10 +6,12 @@ use Filament\Support\Commands\Concerns\CanIndentStrings;
|
||||
use Filament\Support\Commands\Concerns\CanManipulateFiles;
|
||||
use Filament\Support\Commands\Concerns\CanReadModelSchemas;
|
||||
use Illuminate\Console\Command;
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
use function Filament\Support\get_model_label;
|
||||
use function Laravel\Prompts\text;
|
||||
|
||||
#[AsCommand(name: 'make:filament-exporter')]
|
||||
class MakeExporterCommand extends Command
|
||||
{
|
||||
use CanIndentStrings;
|
||||
|
||||
@@ -6,10 +6,12 @@ use Filament\Support\Commands\Concerns\CanIndentStrings;
|
||||
use Filament\Support\Commands\Concerns\CanManipulateFiles;
|
||||
use Filament\Support\Commands\Concerns\CanReadModelSchemas;
|
||||
use Illuminate\Console\Command;
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
use function Filament\Support\get_model_label;
|
||||
use function Laravel\Prompts\text;
|
||||
|
||||
#[AsCommand(name: 'make:filament-importer')]
|
||||
class MakeImporterCommand extends Command
|
||||
{
|
||||
use CanIndentStrings;
|
||||
|
||||
@@ -19,7 +19,8 @@
|
||||
"illuminate/support": "^10.45|^11.0",
|
||||
"illuminate/validation": "^10.45|^11.0",
|
||||
"illuminate/view": "^10.45|^11.0",
|
||||
"spatie/laravel-package-tools": "^1.9"
|
||||
"spatie/laravel-package-tools": "^1.9",
|
||||
"symfony/console": "^6.0|^7.0"
|
||||
},
|
||||
"autoload": {
|
||||
"files": [
|
||||
|
||||
@@ -3,7 +3,9 @@
|
||||
namespace Filament\Forms\Commands\Aliases;
|
||||
|
||||
use Filament\Forms\Commands;
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
#[AsCommand(name: 'forms:field')]
|
||||
class MakeFieldCommand extends Commands\MakeFieldCommand
|
||||
{
|
||||
protected $hidden = true;
|
||||
|
||||
@@ -3,7 +3,9 @@
|
||||
namespace Filament\Forms\Commands\Aliases;
|
||||
|
||||
use Filament\Forms\Commands;
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
#[AsCommand(name: 'forms:layout')]
|
||||
class MakeLayoutComponentCommand extends Commands\MakeLayoutComponentCommand
|
||||
{
|
||||
protected $hidden = true;
|
||||
|
||||
@@ -5,9 +5,11 @@ namespace Filament\Forms\Commands;
|
||||
use Filament\Support\Commands\Concerns\CanManipulateFiles;
|
||||
use Illuminate\Console\Command;
|
||||
use Illuminate\Support\Str;
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
use function Laravel\Prompts\text;
|
||||
|
||||
#[AsCommand(name: 'make:form-field')]
|
||||
class MakeFieldCommand extends Command
|
||||
{
|
||||
use CanManipulateFiles;
|
||||
|
||||
@@ -8,10 +8,12 @@ use Filament\Support\Commands\Concerns\CanManipulateFiles;
|
||||
use Filament\Support\Commands\Concerns\CanReadModelSchemas;
|
||||
use Illuminate\Console\Command;
|
||||
use Illuminate\Support\Str;
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
use function Laravel\Prompts\select;
|
||||
use function Laravel\Prompts\text;
|
||||
|
||||
#[AsCommand(name: 'make:livewire-form')]
|
||||
class MakeFormCommand extends Command
|
||||
{
|
||||
use CanGenerateForms;
|
||||
|
||||
@@ -5,9 +5,11 @@ namespace Filament\Forms\Commands;
|
||||
use Filament\Support\Commands\Concerns\CanManipulateFiles;
|
||||
use Illuminate\Console\Command;
|
||||
use Illuminate\Support\Str;
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
use function Laravel\Prompts\text;
|
||||
|
||||
#[AsCommand(name: 'make:form-layout')]
|
||||
class MakeLayoutComponentCommand extends Command
|
||||
{
|
||||
use CanManipulateFiles;
|
||||
|
||||
@@ -17,7 +17,8 @@
|
||||
"illuminate/filesystem": "^10.45|^11.0",
|
||||
"illuminate/support": "^10.45|^11.0",
|
||||
"illuminate/view": "^10.45|^11.0",
|
||||
"spatie/laravel-package-tools": "^1.9"
|
||||
"spatie/laravel-package-tools": "^1.9",
|
||||
"symfony/console": "^6.0|^7.0"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
|
||||
@@ -3,7 +3,9 @@
|
||||
namespace Filament\Infolists\Commands\Aliases;
|
||||
|
||||
use Filament\Infolists\Commands;
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
#[AsCommand(name: 'infolists:entry')]
|
||||
class MakeEntryCommand extends Commands\MakeEntryCommand
|
||||
{
|
||||
protected $hidden = true;
|
||||
|
||||
@@ -3,7 +3,9 @@
|
||||
namespace Filament\Infolists\Commands\Aliases;
|
||||
|
||||
use Filament\Infolists\Commands;
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
#[AsCommand(name: 'infolists:layout')]
|
||||
class MakeLayoutComponentCommand extends Commands\MakeLayoutComponentCommand
|
||||
{
|
||||
protected $hidden = true;
|
||||
|
||||
@@ -5,9 +5,11 @@ namespace Filament\Infolists\Commands;
|
||||
use Filament\Support\Commands\Concerns\CanManipulateFiles;
|
||||
use Illuminate\Console\Command;
|
||||
use Illuminate\Support\Str;
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
use function Laravel\Prompts\text;
|
||||
|
||||
#[AsCommand(name: 'make:infolist-entry')]
|
||||
class MakeEntryCommand extends Command
|
||||
{
|
||||
use CanManipulateFiles;
|
||||
|
||||
@@ -5,9 +5,11 @@ namespace Filament\Infolists\Commands;
|
||||
use Filament\Support\Commands\Concerns\CanManipulateFiles;
|
||||
use Illuminate\Console\Command;
|
||||
use Illuminate\Support\Str;
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
use function Laravel\Prompts\text;
|
||||
|
||||
#[AsCommand(name: 'make:infolist-layout')]
|
||||
class MakeLayoutComponentCommand extends Command
|
||||
{
|
||||
use CanManipulateFiles;
|
||||
|
||||
@@ -27,7 +27,8 @@
|
||||
"illuminate/session": "^10.45|^11.0",
|
||||
"illuminate/support": "^10.45|^11.0",
|
||||
"illuminate/view": "^10.45|^11.0",
|
||||
"spatie/laravel-package-tools": "^1.9"
|
||||
"spatie/laravel-package-tools": "^1.9",
|
||||
"symfony/console": "^6.0|^7.0"
|
||||
},
|
||||
"autoload": {
|
||||
"files": [
|
||||
|
||||
@@ -3,7 +3,9 @@
|
||||
namespace Filament\Commands\Aliases;
|
||||
|
||||
use Filament\Commands;
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
#[AsCommand(name: 'filament:cluster')]
|
||||
class MakeClusterCommand extends Commands\MakeClusterCommand
|
||||
{
|
||||
protected $hidden = true;
|
||||
|
||||
@@ -3,7 +3,9 @@
|
||||
namespace Filament\Commands\Aliases;
|
||||
|
||||
use Filament\Commands;
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
#[AsCommand(name: 'filament:page')]
|
||||
class MakePageCommand extends Commands\MakePageCommand
|
||||
{
|
||||
protected $hidden = true;
|
||||
|
||||
@@ -3,7 +3,9 @@
|
||||
namespace Filament\Commands\Aliases;
|
||||
|
||||
use Filament\Commands;
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
#[AsCommand(name: 'filament:panel')]
|
||||
class MakePanelCommand extends Commands\MakePanelCommand
|
||||
{
|
||||
protected $hidden = true;
|
||||
|
||||
@@ -3,7 +3,9 @@
|
||||
namespace Filament\Commands\Aliases;
|
||||
|
||||
use Filament\Commands;
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
#[AsCommand(name: 'filament:relation-manager')]
|
||||
class MakeRelationManagerCommand extends Commands\MakeRelationManagerCommand
|
||||
{
|
||||
protected $hidden = true;
|
||||
|
||||
@@ -3,7 +3,9 @@
|
||||
namespace Filament\Commands\Aliases;
|
||||
|
||||
use Filament\Commands;
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
#[AsCommand(name: 'filament:resource')]
|
||||
class MakeResourceCommand extends Commands\MakeResourceCommand
|
||||
{
|
||||
protected $hidden = true;
|
||||
|
||||
@@ -3,7 +3,9 @@
|
||||
namespace Filament\Commands\Aliases;
|
||||
|
||||
use Filament\Commands;
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
#[AsCommand(name: 'filament:theme')]
|
||||
class MakeThemeCommand extends Commands\MakeThemeCommand
|
||||
{
|
||||
protected $hidden = true;
|
||||
|
||||
@@ -3,7 +3,9 @@
|
||||
namespace Filament\Commands\Aliases;
|
||||
|
||||
use Filament\Commands;
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
#[AsCommand(name: 'filament:user')]
|
||||
class MakeUserCommand extends Commands\MakeUserCommand
|
||||
{
|
||||
protected $hidden = true;
|
||||
|
||||
@@ -4,7 +4,9 @@ namespace Filament\Commands;
|
||||
|
||||
use Filament\Facades\Filament;
|
||||
use Illuminate\Console\Command;
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
#[AsCommand(name: 'filament:cache-components')]
|
||||
class CacheComponentsCommand extends Command
|
||||
{
|
||||
protected $description = 'Cache all components';
|
||||
|
||||
@@ -4,7 +4,9 @@ namespace Filament\Commands;
|
||||
|
||||
use Filament\Facades\Filament;
|
||||
use Illuminate\Console\Command;
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
#[AsCommand(name: 'filament:clear-cached-components')]
|
||||
class ClearCachedComponentsCommand extends Command
|
||||
{
|
||||
protected $description = 'Cache all components';
|
||||
|
||||
@@ -9,9 +9,12 @@ use Filament\Support\Commands\Concerns\CanManipulateFiles;
|
||||
use Illuminate\Console\Command;
|
||||
use Illuminate\Support\Arr;
|
||||
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
use function Laravel\Prompts\select;
|
||||
use function Laravel\Prompts\text;
|
||||
|
||||
#[AsCommand(name: 'filament:make:filament-cluster')]
|
||||
class MakeClusterCommand extends Command
|
||||
{
|
||||
use CanIndentStrings;
|
||||
|
||||
@@ -11,11 +11,14 @@ use Illuminate\Console\Command;
|
||||
use Illuminate\Support\Arr;
|
||||
use Illuminate\Support\Str;
|
||||
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
use function Laravel\Prompts\confirm;
|
||||
use function Laravel\Prompts\select;
|
||||
use function Laravel\Prompts\suggest;
|
||||
use function Laravel\Prompts\text;
|
||||
|
||||
#[AsCommand(name: 'filament:make:filament-page')]
|
||||
class MakePageCommand extends Command
|
||||
{
|
||||
use CanIndentStrings;
|
||||
|
||||
@@ -6,7 +6,9 @@ use Filament\Support\Commands\Concerns\CanGeneratePanels;
|
||||
use Filament\Support\Commands\Concerns\CanManipulateFiles;
|
||||
use Illuminate\Console\Command;
|
||||
use ReflectionClass;
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
#[AsCommand(name: 'filament:make:filament-panel')]
|
||||
class MakePanelCommand extends Command
|
||||
{
|
||||
use CanGeneratePanels;
|
||||
|
||||
@@ -9,9 +9,12 @@ use Filament\Support\Commands\Concerns\CanManipulateFiles;
|
||||
use Illuminate\Console\Command;
|
||||
use Illuminate\Support\Arr;
|
||||
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
use function Laravel\Prompts\select;
|
||||
use function Laravel\Prompts\text;
|
||||
|
||||
#[AsCommand(name: 'filament:make:filament-relation-manager')]
|
||||
class MakeRelationManagerCommand extends Command
|
||||
{
|
||||
use CanIndentStrings;
|
||||
|
||||
@@ -13,9 +13,12 @@ use Filament\Tables\Commands\Concerns\CanGenerateTables;
|
||||
use Illuminate\Console\Command;
|
||||
use Illuminate\Support\Arr;
|
||||
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
use function Laravel\Prompts\select;
|
||||
use function Laravel\Prompts\text;
|
||||
|
||||
#[AsCommand(name: 'filament:make:filament-resource')]
|
||||
class MakeResourceCommand extends Command
|
||||
{
|
||||
use CanGenerateForms;
|
||||
|
||||
@@ -9,8 +9,11 @@ use Illuminate\Console\Command;
|
||||
use Illuminate\Support\Arr;
|
||||
use Illuminate\Support\Str;
|
||||
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
use function Laravel\Prompts\select;
|
||||
|
||||
#[AsCommand(name: 'filament:make:filament-theme')]
|
||||
class MakeThemeCommand extends Command
|
||||
{
|
||||
use CanManipulateFiles;
|
||||
|
||||
@@ -10,9 +10,12 @@ use Illuminate\Contracts\Auth\Guard;
|
||||
use Illuminate\Contracts\Auth\UserProvider;
|
||||
use Illuminate\Support\Facades\Hash;
|
||||
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
use function Laravel\Prompts\password;
|
||||
use function Laravel\Prompts\text;
|
||||
|
||||
#[AsCommand(name: 'filament:make:filament-user')]
|
||||
class MakeUserCommand extends Command
|
||||
{
|
||||
protected $description = 'Create a new Filament user';
|
||||
|
||||
@@ -20,7 +20,6 @@ use Filament\Pages\Concerns\InteractsWithFormActions;
|
||||
use Filament\Pages\SimplePage;
|
||||
use Illuminate\Auth\EloquentUserProvider;
|
||||
use Illuminate\Auth\SessionGuard;
|
||||
use Illuminate\Contracts\Auth\Authenticatable;
|
||||
use Illuminate\Contracts\Auth\MustVerifyEmail;
|
||||
use Illuminate\Contracts\Support\Htmlable;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
@@ -20,7 +20,8 @@
|
||||
"spatie/color": "^1.5",
|
||||
"spatie/invade": "^1.0|^2.0",
|
||||
"spatie/laravel-package-tools": "^1.9",
|
||||
"symfony/html-sanitizer": "^6.1|^7.0"
|
||||
"symfony/html-sanitizer": "^6.1|^7.0",
|
||||
"symfony/console": "^6.0|^7.0"
|
||||
},
|
||||
"autoload": {
|
||||
"files": [
|
||||
|
||||
@@ -3,7 +3,9 @@
|
||||
namespace Filament\Support\Commands\Aliases;
|
||||
|
||||
use Filament\Support\Commands;
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
#[AsCommand(name: 'filament:issue')]
|
||||
class MakeIssueCommand extends Commands\MakeIssueCommand
|
||||
{
|
||||
protected $hidden = true;
|
||||
|
||||
@@ -6,7 +6,9 @@ use Filament\Support\Commands\Concerns\CanManipulateFiles;
|
||||
use Filament\Support\Facades\FilamentAsset;
|
||||
use Illuminate\Console\Command;
|
||||
use Illuminate\Filesystem\Filesystem;
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
#[AsCommand(name: 'filament:assets')]
|
||||
class AssetsCommand extends Command
|
||||
{
|
||||
use CanManipulateFiles;
|
||||
|
||||
@@ -7,9 +7,11 @@ use Illuminate\Filesystem\Filesystem;
|
||||
use Illuminate\Support\Arr;
|
||||
use Illuminate\Support\Collection;
|
||||
use Illuminate\Support\Str;
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
use Symfony\Component\Console\Exception\InvalidOptionException;
|
||||
use Symfony\Component\Finder\SplFileInfo;
|
||||
|
||||
#[AsCommand(name: 'filament:check-translations')]
|
||||
class CheckTranslationsCommand extends Command
|
||||
{
|
||||
protected $signature = 'filament:check-translations
|
||||
|
||||
@@ -8,9 +8,11 @@ use Filament\Support\Commands\Concerns\CanManipulateFiles;
|
||||
use Illuminate\Console\Command;
|
||||
use Illuminate\Filesystem\Filesystem;
|
||||
use Illuminate\Support\Arr;
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
use function Laravel\Prompts\confirm;
|
||||
|
||||
#[AsCommand(name: 'filament:install')]
|
||||
class InstallCommand extends Command
|
||||
{
|
||||
use CanGeneratePanels;
|
||||
|
||||
@@ -4,7 +4,9 @@ namespace Filament\Support\Commands;
|
||||
|
||||
use Composer\InstalledVersions;
|
||||
use Illuminate\Console\Command;
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
#[AsCommand(name: 'make:filament-issue')]
|
||||
class MakeIssueCommand extends Command
|
||||
{
|
||||
protected $signature = 'make:filament-issue';
|
||||
|
||||
@@ -4,7 +4,9 @@ namespace Filament\Support\Commands;
|
||||
|
||||
use Filament\Support\Events\FilamentUpgraded;
|
||||
use Illuminate\Console\Command;
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
#[AsCommand(name: 'filament:upgrade')]
|
||||
class UpgradeCommand extends Command
|
||||
{
|
||||
protected $description = 'Upgrade Filament to the latest version';
|
||||
|
||||
@@ -19,7 +19,8 @@
|
||||
"illuminate/support": "^10.45|^11.0",
|
||||
"illuminate/view": "^10.45|^11.0",
|
||||
"kirschbaum-development/eloquent-power-joins": "^3.0",
|
||||
"spatie/laravel-package-tools": "^1.9"
|
||||
"spatie/laravel-package-tools": "^1.9",
|
||||
"symfony/console": "^6.0|^7.0"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
|
||||
@@ -3,7 +3,9 @@
|
||||
namespace Filament\Tables\Commands\Aliases;
|
||||
|
||||
use Filament\Tables\Commands;
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
#[AsCommand(name: 'tables:column')]
|
||||
class MakeColumnCommand extends Commands\MakeColumnCommand
|
||||
{
|
||||
protected $hidden = true;
|
||||
|
||||
@@ -5,9 +5,11 @@ namespace Filament\Tables\Commands;
|
||||
use Filament\Support\Commands\Concerns\CanManipulateFiles;
|
||||
use Illuminate\Console\Command;
|
||||
use Illuminate\Support\Str;
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
use function Laravel\Prompts\text;
|
||||
|
||||
#[AsCommand(name: 'make:table-column')]
|
||||
class MakeColumnCommand extends Command
|
||||
{
|
||||
use CanManipulateFiles;
|
||||
|
||||
@@ -8,9 +8,11 @@ use Filament\Support\Commands\Concerns\CanReadModelSchemas;
|
||||
use Filament\Tables\Commands\Concerns\CanGenerateTables;
|
||||
use Illuminate\Console\Command;
|
||||
use Illuminate\Support\Str;
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
use function Laravel\Prompts\text;
|
||||
|
||||
#[AsCommand(name: 'make:livewire-table')]
|
||||
class MakeTableCommand extends Command
|
||||
{
|
||||
use CanGenerateTables;
|
||||
|
||||
@@ -10,7 +10,8 @@
|
||||
"require": {
|
||||
"php": "^8.1",
|
||||
"filament/support": "self.version",
|
||||
"spatie/laravel-package-tools": "^1.9"
|
||||
"spatie/laravel-package-tools": "^1.9",
|
||||
"symfony/console": "^6.0|^7.0"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
|
||||
@@ -3,7 +3,9 @@
|
||||
namespace Filament\Widgets\Commands\Aliases;
|
||||
|
||||
use Filament\Widgets\Commands;
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
#[AsCommand(name: 'filament:widget')]
|
||||
class MakeWidgetCommand extends Commands\MakeWidgetCommand
|
||||
{
|
||||
protected $hidden = true;
|
||||
|
||||
@@ -9,10 +9,12 @@ use Filament\Support\Commands\Concerns\CanManipulateFiles;
|
||||
use Illuminate\Console\Command;
|
||||
use Illuminate\Support\Arr;
|
||||
use Illuminate\Support\Str;
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
|
||||
use function Laravel\Prompts\select;
|
||||
use function Laravel\Prompts\text;
|
||||
|
||||
#[AsCommand(name: 'make:filament-widget')]
|
||||
class MakeWidgetCommand extends Command
|
||||
{
|
||||
use CanManipulateFiles;
|
||||
|
||||
Reference in New Issue
Block a user