Skip to content

Commit 65241d7

Browse files
committed
fix: rename command name to shield:model
1 parent 288f8cb commit 65241d7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Commands/Generators/UserModelGenerator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class UserModelGenerator extends BaseCommand
2626
*
2727
* @var string
2828
*/
29-
protected $name = 'shield:make';
29+
protected $name = 'shield:model';
3030

3131
/**
3232
* The Command's Description
@@ -40,7 +40,7 @@ class UserModelGenerator extends BaseCommand
4040
*
4141
* @var string
4242
*/
43-
protected $usage = 'shield:make <name> [options]';
43+
protected $usage = 'shield:model <name> [options]';
4444

4545
/**
4646
* The Command's Arguments

src/Config/Registrar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public static function Generators(): array
5050
{
5151
return [
5252
'views' => [
53-
'shield:make' => 'CodeIgniter\Shield\Commands\Generators\Views\usermodel.tpl.php',
53+
'shield:model' => 'CodeIgniter\Shield\Commands\Generators\Views\usermodel.tpl.php',
5454
],
5555
];
5656
}

0 commit comments

Comments
 (0)