feat: add shield:model command for make custom UserModel#491
feat: add shield:model command for make custom UserModel#491datamweb wants to merge 16 commits intocodeigniter4:developfrom
shield:model command for make custom UserModel#491Conversation
|
The name Where to add documents? Do we need a new CLI file? |
|
|
I think this is reasonable and good. do you all agree? |
6e8fa2c to
92ba9d4
Compare
UserModelshield:model command for make custom UserModel
Co-authored-by: John Paul E. Balandan, CPA <paulbalandan@gmail.com>
Co-authored-by: John Paul E. Balandan, CPA <paulbalandan@gmail.com>
Co-authored-by: John Paul E. Balandan, CPA <paulbalandan@gmail.com>
Co-authored-by: John Paul E. Balandan, CPA <paulbalandan@gmail.com>
Co-authored-by: John Paul E. Balandan, CPA <paulbalandan@gmail.com>
Co-authored-by: John Paul E. Balandan, CPA <paulbalandan@gmail.com>
paulbalandan
left a comment
There was a problem hiding this comment.
Also, please git rebase -i so that all commits will be under your name and marked Verified.
|
|
||
| if (is_file($filepath)) { | ||
| unlink($filepath); | ||
| } |
There was a problem hiding this comment.
Change this to a $this->assertFileExist test. Deleting the file will be made in tearDown.
Co-authored-by: John Paul E. Balandan, CPA <paulbalandan@gmail.com>
Co-authored-by: John Paul E. Balandan, CPA <paulbalandan@gmail.com>
Co-authored-by: John Paul E. Balandan, CPA <paulbalandan@gmail.com>
3047309 to
ee29840
Compare
|
@datamweb @paulbalandan Where does this PR stand? Other than resolving the conflicts is there anything left? |
|
I'm not sure with @datamweb on the status. |
It will be great if someone takes over before me. |
|
Closing this one since another is in its place. |
This command helps to create custom user model.
php spark shield:model MyCustomUserphp spark shield:model MyCustomUser --forcephp spark shield:model MyCustomUser --suffixphp spark shield:model MyCustomUser --namespace CodeIgniter\Shieldoutput
see: ##489 (comment)