Replies: 1 comment
-
quite a simple task, maybe you can do it yourself? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, MoonShine offers separate commands for generating resources (
moonshine:resource
) and policies (moonshine:policy
). To streamline the development process, it would be beneficial to integrate policy generation directly into the resource creation command.Proposed functionality:
--policy
flag to themoonshine:resource
commandmoonshine:policy
command for the resourceprotected bool $withPolicy = true;
in the generated resource classThis integration would save developers time and ensure that resources and their corresponding policies are created consistently.
Beta Was this translation helpful? Give feedback.
All reactions