diff --git a/src/Tempest/Database/src/Commands/MakeModelCommand.php b/src/Tempest/Database/src/Commands/MakeModelCommand.php index c28ec57f4..f6764f6ec 100644 --- a/src/Tempest/Database/src/Commands/MakeModelCommand.php +++ b/src/Tempest/Database/src/Commands/MakeModelCommand.php @@ -39,7 +39,7 @@ public function __invoke( shouldOverride: $shouldOverride, ); - $this->console->success(sprintf('File successfully created at "%s".', $targetPath)); + $this->console->success(sprintf('Model successfully created at "%s".', $targetPath)); } catch (FileGenerationAbortedException|FileGenerationFailedException $e) { $this->console->error($e->getMessage()); } diff --git a/src/Tempest/Http/src/Commands/MakeControllerCommand.php b/src/Tempest/Http/src/Commands/MakeControllerCommand.php index 1375881f2..d4c4092ac 100644 --- a/src/Tempest/Http/src/Commands/MakeControllerCommand.php +++ b/src/Tempest/Http/src/Commands/MakeControllerCommand.php @@ -27,10 +27,12 @@ public function __invoke( )] string $className, #[ConsoleArgument( + name: 'path', help: 'The path of the route', )] ?string $controllerPath = null, #[ConsoleArgument( + name: 'view', help: 'The name of the view returned from the controller', )] ?string $controllerView = null, @@ -50,7 +52,7 @@ public function __invoke( ], ); - $this->success(sprintf('File successfully created at "%s".', $targetPath)); + $this->success(sprintf('Controller successfully created at "%s".', $targetPath)); } catch (FileGenerationAbortedException|FileGenerationFailedException $e) { $this->error($e->getMessage()); }