When you run php artisan make:command
to scaffold a Laravel console command class, use the --command
option to set the command signature before the class is generated.
php artisan make:command MigratePricingStructure --command=migrate-pricing-structure