Follow Laravel style for make commands info

This commit is contained in:
Zep Fietje
2023-10-06 18:54:03 +02:00
parent 472e91e196
commit 930fc7e7d7
14 changed files with 14 additions and 14 deletions
@@ -67,7 +67,7 @@ class MakeFieldCommand extends Command
$this->copyStubToApp('FieldView', $viewPath);
}
$this->components->info("Filament Form Field [{$path}] created successfully.");
$this->components->info("Filament form field [{$path}] created successfully.");
return static::SUCCESS;
}
@@ -101,7 +101,7 @@ class MakeFormCommand extends Command
'submitAction' => filled($model) ? ($isEditForm ? 'save' : 'create') : 'submit',
]);
$this->components->info("Filament Form [{$path}] created successfully.");
$this->components->info("Filament form [{$path}] created successfully.");
return static::SUCCESS;
}
@@ -67,7 +67,7 @@ class MakeLayoutComponentCommand extends Command
$this->copyStubToApp('LayoutComponentView', $viewPath);
}
$this->components->info("Filament Form Layout Component [{$path}] created successfully.");
$this->components->info("Filament form layout component [{$path}] created successfully.");
return static::SUCCESS;
}
@@ -67,7 +67,7 @@ class MakeEntryCommand extends Command
$this->copyStubToApp('EntryView', $viewPath);
}
$this->components->info("Filament Infolist Entry [{$path}] created successfully.");
$this->components->info("Filament infolist entry [{$path}] created successfully.");
return static::SUCCESS;
}
@@ -67,7 +67,7 @@ class MakeLayoutComponentCommand extends Command
$this->copyStubToApp('LayoutComponentView', $viewPath);
}
$this->components->info("Filament Infolist Layout Component [{$path}] created successfully.");
$this->components->info("Filament infolist layout component [{$path}] created successfully.");
return static::SUCCESS;
}
@@ -181,7 +181,7 @@ class MakePageCommand extends Command
$this->copyStubToApp('PageView', $viewPath);
}
$this->components->info("Filament Page [{$path}] created successfully.");
$this->components->info("Filament page [{$path}] created successfully.");
if ($resource !== null) {
$this->components->info("Make sure to register the page in `{$resourceClass}::getPages()`.");
@@ -55,7 +55,7 @@ class MakePanelCommand extends Command
));
}
$this->components->info("Filament Panel [{$path}] created successfully.");
$this->components->info("Filament panel [{$path}] created successfully.");
$this->components->warn("We've attempted to register the {$class} in your [config/app.php] file as a service provider. If you get an error while trying to access your panel then this process has probably failed. You can manually register the service provider by adding it to the [providers] array.");
return static::SUCCESS;
@@ -180,7 +180,7 @@ class MakeRelationManagerCommand extends Command
'tableHeaderActions' => $this->indentString($tableHeaderActions, 4),
]);
$this->components->info("Filament Relation Manager [{$path}] created successfully.");
$this->components->info("Filament relation manager [{$path}] created successfully.");
$this->components->info("Make sure to register the relation in `{$resource}::getRelations()`.");
@@ -261,7 +261,7 @@ class MakeResourceCommand extends Command
]);
}
$this->components->info("Filament Resource [{$resourcePath}] created successfully.");
$this->components->info("Filament resource [{$resourcePath}] created successfully.");
return static::SUCCESS;
}
@@ -101,7 +101,7 @@ class MakeThemeCommand extends Command
if (! file_exists($postcssConfigPath)) {
$this->copyStubToApp('ThemePostcssConfig', $postcssConfigPath);
$this->components->info('Filament Theme [postcss.config.js] created successfully.');
$this->components->info('Filament theme [postcss.config.js] created successfully.');
}
$this->components->warn('Action is required to complete the theme setup:');
@@ -57,7 +57,7 @@ class MakeSettingsPageCommand extends Command
'settingsClass' => $settingsClass,
]);
$this->components->info("Filament Settings Page [{$path}] created successfully.");
$this->components->info("Filament settings page [{$path}] created successfully.");
return static::SUCCESS;
}
@@ -67,7 +67,7 @@ class MakeColumnCommand extends Command
$this->copyStubToApp('ColumnView', $viewPath);
}
$this->components->info("Filament Table Column [{$path}] created successfully.");
$this->components->info("Filament table column [{$path}] created successfully.");
return static::SUCCESS;
}
@@ -84,7 +84,7 @@ class MakeTableCommand extends Command
$this->copyStubToApp('TableView', $viewPath);
$this->components->info("Filament Table [{$path}] created successfully.");
$this->components->info("Filament table [{$path}] created successfully.");
return static::SUCCESS;
}
@@ -205,7 +205,7 @@ class MakeWidgetCommand extends Command
$this->copyStubToApp('WidgetView', $viewPath);
}
$this->components->info("Filament Widget [{$path}] created successfully.");
$this->components->info("Filament widget [{$path}] created successfully.");
if ($resource !== null) {
$this->components->info("Make sure to register the widget in `{$resourceClass}::getWidgets()`, and then again in `getHeaderWidgets()` or `getFooterWidgets()` of any `{$resourceClass}` page.");