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:
@@ -12,7 +12,7 @@ class Module_Feature_Create_Command extends Command
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $signature = 'rsx:app:module:feature:create
|
||||
protected $signature = 'rsx:app:module:feature:create
|
||||
{module : Module name (must exist)}
|
||||
{feature : Feature name (lowercase with underscores)}';
|
||||
|
||||
@@ -21,7 +21,7 @@ class Module_Feature_Create_Command extends Command
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $description = 'Create a new feature within an RSX module';
|
||||
protected $description = 'Create a feature (CRUD page group) within a module. Example: clients, tasks';
|
||||
|
||||
/**
|
||||
* Execute the console command.
|
||||
@@ -47,7 +47,14 @@ class Module_Feature_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(' Feature = CRUD page group within a module (e.g., clients, tasks)');
|
||||
$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