1010use Bow \Console \Command \SeederCommand ;
1111use Bow \Console \Command \ServerCommand ;
1212use Bow \Console \Command \WorkerCommand ;
13- use Bow \Console \Command \AppEventCommand ;
1413use Bow \Console \Command \MigrationCommand ;
15- use Bow \Console \Command \ValidationCommand ;
1614use Bow \Console \Command \Generator \GenerateKeyCommand ;
1715use Bow \Console \Command \Generator \GenerateCacheCommand ;
1816use Bow \Console \Command \Generator \GenerateModelCommand ;
2119use Bow \Console \Command \Generator \GenerateConsoleCommand ;
2220use Bow \Console \Command \Generator \GenerateServiceCommand ;
2321use Bow \Console \Command \Generator \GenerateSessionCommand ;
22+ use Bow \Console \Command \Generator \GenerateAppEventCommand ;
2423use Bow \Console \Command \Generator \GenerateProducerCommand ;
2524use Bow \Console \Command \Generator \GenerateExceptionCommand ;
2625use Bow \Console \Command \Generator \GenerateMessagingCommand ;
26+ use Bow \Console \Command \Generator \GenerateMigrationCommand ;
2727use Bow \Console \Command \Generator \GenerateControllerCommand ;
2828use Bow \Console \Command \Generator \GenerateMiddlewareCommand ;
29+ use Bow \Console \Command \Generator \GenerateValidationCommand ;
2930use Bow \Console \Command \Generator \GenerateNotificationCommand ;
3031use Bow \Console \Command \Generator \GenerateConfigurationCommand ;
3132use Bow \Console \Command \Generator \GenerateEventListenerCommand ;
@@ -39,24 +40,22 @@ class Command extends AbstractCommand
3940 * @var array
4041 */
4142 private array $ commands = [
42- "seed " => SeederCommand::class,
43- "seed:table " => GenerateSeederCommand::class,
44- "serve " => ServerCommand::class,
4543 "clear " => ClearCommand::class,
46- "migrate " => MigrationCommand::class,
44+ "seed:table " => SeederCommand::class,
45+ "seed:all " => SeederCommand::class,
4746 "migration:migrate " => MigrationCommand::class,
4847 "migration:rollback " => MigrationCommand::class,
4948 "migration:reset " => MigrationCommand::class,
5049 "add:controller " => GenerateControllerCommand::class,
5150 "add:configuration " => GenerateConfigurationCommand::class,
5251 "add:exception " => GenerateExceptionCommand::class,
5352 "add:middleware " => GenerateMiddlewareCommand::class,
54- "add:migration " => MigrationCommand ::class,
53+ "add:migration " => GenerateMigrationCommand ::class,
5554 "add:model " => GenerateModelCommand::class,
56- "add:seeder " => SeederCommand ::class,
55+ "add:seeder " => GenerateSeederCommand ::class,
5756 "add:service " => GenerateServiceCommand::class,
58- "add:validation " => ValidationCommand ::class,
59- "add:event " => AppEventCommand ::class,
57+ "add:validation " => GenerateValidationCommand ::class,
58+ "add:event " => GenerateAppEventCommand ::class,
6059 "add:listener " => GenerateEventListenerCommand::class,
6160 "add:producer " => GenerateProducerCommand::class,
6261 "add:command " => GenerateConsoleCommand::class,
0 commit comments