-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Allow craft:class to use a template and define path to save the class #2
Comments
I am not sure what you mean? If you execute
The class will be created in
|
I will update documentation to clarify this If you are thinking of something else, please let me know |
@abishekrsrikaanth With regards to defining the path to the template, you can use the
|
Thanks for clarifying the save path. That definitely helps. But my question about using a template was about setting the template using an argument instead of the config file. There are a variety of classes that one requires to create in addition to views, models, controllers, etc. Let's say for example
This way we could have project specific templates instead of using the global templates. |
I understand what you are asking and will add this as a request. I can see how this would be beneficial 🤓 |
Sound good. Look forward to this. |
@abishekrsrikaanth while considering this feature, you have defined 👎
Are you thinkinig of project specific templates, or global templates (those available in all projects) |
@abishekrsrikaanth after thinking about this, I am going to implement using both, with default being the application templates directory. In addition, you define
|
@abishekrsrikaanth This has been added in the latest release (version 1.1) https://github.com/mikeerickson/laravel-craftsman/releases/tag/1.1.1 |
Can you add an enhancement to define a template using a path and also define a path to save the class?
The text was updated successfully, but these errors were encountered: