Skip to content

Commit 14dbfbe

Browse files
committed
📝 updated serve instructions
1 parent 53fd8d7 commit 14dbfbe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/CreateCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
156156
return $this->leaf($input, $output, $directory);
157157
}
158158

159-
$installCommand = $composer . " create-project leafs/$preset " . basename($directory);
159+
$installCommand = "$composer create-project leafs/$preset " . basename($directory);
160160

161161
if ($this->version === "v3") {
162162
$installCommand .= " v3.x-dev";
@@ -193,7 +193,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
193193
if ($process->isSuccessful()) {
194194
$output->writeln("\nYou can start with:");
195195
$output->writeln("\n <info>cd</info> " . basename($directory));
196-
$output->writeln(" <info>leaf app:serve</info>");
196+
$output->writeln(" <info>leaf serve</info>");
197197
$output->writeln("\nHappy gardening!");
198198
}
199199

0 commit comments

Comments
 (0)