Uh oh!
There was an error while loading. Please reload this page.
feat: add shield:publish CLI Command - #489
Conversation
kenjis
commented
Oct 30, 2022
Generator? not publisher. If so, |
Kenjis, you are right. I don't agree with the name
|
kenjis
commented
Oct 30, 2022
Ah, the view command is a bit different from |
kenjis
commented
Oct 30, 2022
This is the output of Myth Auth $ php spark auth:publishCodeIgniter v4.1.5 Command Line Tool - Server Time: 2021-12-09 16:36:40 UTC+09:00Publish Migration? [y, n]: y Created: Database/Migrations/2017-11-20-223112_create_auth_tables.php Remember to run `spark migrate -all` to migrate the database.Publish Models? [y, n]: y Created: Models/LoginModel.php Created: Models/UserModel.phpPublish Entities? [y, n]: y Created: Entities/User.phpPublish Controller? [y, n]: y Created: Controllers/AuthController.phpPublish Views? [y, n]: y Created: Views/Auth/_footer.php Created: Views/Auth/_header.php Created: Views/Auth/_message_block.php Created: Views/Auth/_navbar.php Created: Views/Auth/emails/activation.php Created: Views/Auth/emails/forgot.php Created: Views/Auth/forgot.php Created: Views/Auth/layout.php Created: Views/Auth/login.php Created: Views/Auth/register.php Created: Views/Auth/reset.phpPublish Filters? [y, n]: y Created: Filters/LoginFilter.php Created: Filters/PermissionFilter.php Created: Filters/RoleFilter.phpPublish Config file? [y, n]: y Created: Config/Auth.phpPublish Language file? [y, n]: y Created: Language/en/Auth.php |
datamweb
commented
Oct 31, 2022
Exactly.
Yes, if you want I can write it with |
datamweb
commented
Oct 31, 2022
I haven't used |
kenjis
commented
Oct 31, 2022
I think the following commands are better:
|
kenjis
commented
Apr 19, 2023
|
@kenjis We have now documented the customization details for views. |
kenjis
commented
Oct 19, 2023
It is assumed that all view files will be customized by developers. Because of the large number of files, it would be convenient if they can be prepared by one command. |
Hello friends,
This PR helps to create custom views and adjust it. (related to: #480 )
It also helps to create custom UserModel. (related to: #476)
php spark shield:publish viewphp spark shield:publish modelI'm not sure if merging this command is really necessary, however if you think it might be useful please give it a first look.