krlove / eloquent-model-generator

Eloquent Model Generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Filename options not working?

CaraesNaur opened this issue · comments

I'm trying to use the `--table-filename' option because I need to add information to the generated file names (I'm dealing with several dozen tables/models).

Everything I pass as the value results in Artisan reporting The "--table-filename" option does not exist.

Just for kicks I tried the similar view and proc options and got the same result.

What I would really like to know is where to define custom filename patterns, what tokens are available, and how to create my own & populate them from the command line.

PHP 7.4.32
MySQL 5.7.40
Laravel 8.83.25