Skip to content

Commit

Permalink
Fix commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Spomky committed Mar 7, 2024
1 parent 54e580f commit 3834ecb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/Command/CreateIconsCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ protected function execute(InputInterface $input, OutputInterface $output): int
}

$io->success('Icons have been generated. You can now use them in your application configuration file.');
$io->writeln('Here is an example of a configuration file. Please indent it properly before using it in your application configuration file.');
$io->writeln('It can be used in the manifest, shortcuts or widgets sections.');
$io->writeln('');
$io->writeln(Yaml::dump([
'yaml' => [
'icons' => $generatedIcons,
Expand Down
4 changes: 3 additions & 1 deletion src/Command/CreateScreenshotCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,9 @@ protected function execute(InputInterface $input, OutputInterface $output): int
$io->success('Screenshot saved. You can now use it in your application configuration file.');
$io->writeln(Yaml::dump([
'pwa' => [
'screenshots' => [$config],
'manifest' => [
'screenshots' => [$config],
],
],
], 10, 2));

Expand Down

0 comments on commit 3834ecb

Please sign in to comment.