flipboxstudio / lumen-generator

A Lumen Generator You Are Missing

Home Page:https://packagist.org/packages/flipbox/lumen-generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Upgrade the make model command

jorgemudry opened this issue · comments

The make:model command is missing some options:

  -a, --all             Generate a migration, seeder, factory, and resource controller for the model
  -c, --controller      Create a new controller for the model
  -f, --factory         Create a new factory for the model
      --force           Create the class even if the model already exists
  -s, --seed            Create a new seeder file for the model
  -p, --pivot           Indicates if the generated model should be a custom intermediate table model
  -r, --resource        Indicates if the generated controller should be a resource controller
      --api             Indicates if the generated controller should be an API controller

Thanks for your PR