laralib/l5scaffold

Too many arguments, expected arguments "command" "name".

Opened this issue · 2 comments

Error Too many arguments, expected arguments "command" "name".
in command

php artisan make:scaffold Doctor \ --schema="name:string, crm:string, street:string, district:string, complement:string, postal_code:number, city:string, state:string"

Remove the backslash after Doctor

php artisan make:scaffold Doctor --schema="name:string, crm:string, street:string, district:string, complement:string, postal_code:number, city:string, state:string"

old code

php artisan make:migration add_users_extra_fields_to_users --table = users

new code

php artisan make:migration add_users_extra_fields_to_users --table=users

  • remove space at both side of equal to sign.