CodeIgniter Forums
Help with custom command - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Help with custom command (/showthread.php?tid=91751)



Help with custom command - Anacardic - 10-02-2024

Hello. I have created a command to generate most of the template files associated with CRUD based on a specific controller name but I want store that command class inside a sub directory of ```app\Command``` so something like ```app\Command\TemplateGen``` or similar.

How can I do this?


RE: Help with custom command - ozornick - 10-02-2024

Check manualĀ https://codeigniter4.github.io/userguide/cli/cli_commands.html#creating-new-commands