Add config() Go to Definition support to VS Code extension
Always include params in window.rsxapp to reduce state variations Add request params to window.rsxapp global Enhance module creation commands with clear nomenclature guidance Add module/submodule/feature nomenclature clarification to docs 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -21,7 +21,7 @@ class Submodule_Create_Command extends Command
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $description = 'Create a new submodule within an RSX module with embedded layout and default index feature';
|
||||
protected $description = 'Create a submodule (page group with own layout within a module). Example: settings within frontend';
|
||||
|
||||
/**
|
||||
* Execute the console command.
|
||||
@@ -47,7 +47,14 @@ class Submodule_Create_Command extends Command
|
||||
// Check if module exists
|
||||
$module_path = base_path("rsx/app/{$module_name}");
|
||||
if (!is_dir($module_path)) {
|
||||
$this->error("Module '{$module_name}' does not exist. Create it first with: php artisan rsx:app:module:create {$module_name}");
|
||||
$this->error("Module '{$module_name}' does not exist.");
|
||||
$this->line('');
|
||||
$this->line('NOMENCLATURE:');
|
||||
$this->line(' Module = Top-level section with shared layout (e.g., frontend, admin)');
|
||||
$this->line(' Submodule = Page group with own layout within a module (e.g., settings within frontend)');
|
||||
$this->line('');
|
||||
$this->line('Create the module first:');
|
||||
$this->info(" php artisan rsx:app:module:create {$module_name}");
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user