ingeniasoftware / luthier-ci

Improved routing, middleware support, authentication tools and more for CodeIgniter 3 framework
https://luthier.ingenia.me/ci/en/
MIT License
150 stars 38 forks source link

hmvc at the luthier make command #34

Closed wisnubaldas closed 5 years ago

wisnubaldas commented 5 years ago

hi..., I use hmvc module, can it be integrated into the luthier make command to create a controller, maybe by adding parameters when creating a controller?

php index.php luthier make [modules] [resource] [name] [type? (sequenatial | date) = date]

andersonsalas commented 5 years ago

Sounds good. Let me mark this as a new feature for the next release :)

andersonsalas commented 5 years ago

Version 1.0.4 released.

Now its possible to specify the module name when creating controllers, models, libraries and helpers via CLI with the --module parameter:

// Controllers
php index.php luthier make controller MyController --module:MyModule

// Models
php index.php luthier make model MyModel --module:MyModule

// Libraries
php index.php luthier make library MyLibrary --module:MyModule

// Helpers
php index.php luthier make helper MyHelper --module:MyModule
wisnubaldas commented 5 years ago

I really like this plugin.. :100: