We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c9c362 commit e1f4af3Copy full SHA for e1f4af3
src/Generators/DataTablesMakeCommand.php
@@ -18,6 +18,7 @@ class DataTablesMakeCommand extends GeneratorCommand
18
{--model : The name of the model to be used.}
19
{--model-namespace= : The namespace of the model to be used.}
20
{--action= : The path of the action view.}
21
+ {--table= : Scaffold columns from the table.}
22
{--dom= : The dom of the datatable.}
23
{--buttons= : The buttons of the datatable.}
24
{--columns= : The columns of the datatable.}';
@@ -54,6 +55,7 @@ public function handle()
54
55
'datatables-buttons.generator.dom',
56
'Bfrtip'
57
),
58
+ '--table' => $this->option('table'),
59
]);
60
}
61
0 commit comments