How to set the namespace in the CLI Command (programmatically)? |
Hello everyone. My task is to create a spark command that will create a special controller for the module. The essence of the command will be simple, I specify the name of the module, and spark creates a controller in the Controllers directory of this module. An example command would look like this:
Code: php spark mycommand <MyModuleName> |
Messages In This Thread |
How to set the namespace in the CLI Command (programmatically)? - by Avega Soft - 01-18-2024, 08:44 PM
RE: How to set the namespace in the CLI Command (programmatically)? - by kenjis - 01-19-2024, 12:54 AM
|