Skip to content

Commit

Permalink
fix: new:site command minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudLigny committed Oct 31, 2024
1 parent e5bd04e commit c9df497
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Command/NewSite.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ protected function execute(InputInterface $input, OutputInterface $output)
$output->writeln(\sprintf('<info>Your new website is created in %s.</info>', realpath($this->getPath())));
$this->io->newLine();
$this->io->listing([
'Start the built-in preview server with `' . $_SERVER['argv'][0] . ' serve`',
'You can create a new page with `' . $_SERVER['argv'][0] . ' new:page`',
'Start the built-in preview server with `' . basename($_SERVER['argv'][0]) . ' serve`',
'You can create a new page with `' . basename($_SERVER['argv'][0]) . ' new:page`',
]);
$this->io->text('Visit <href=https://cecil.app>https://cecil.app</> for documentation and more.');
} catch (\Exception $e) {
Expand Down

0 comments on commit c9df497

Please sign in to comment.