Skip to content

Commit bdaef77

Browse files
committed
Display Deployer version in dep init
1 parent 82295c3 commit bdaef77

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Command/InitCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
namespace Deployer\Command;
1212

13+
use Deployer\Deployer;
1314
use Maml\Maml;
1415
use Symfony\Component\Console\Command\Command;
1516
use Symfony\Component\Console\Input\InputInterface;
@@ -34,11 +35,10 @@ protected function configure(): void
3435

3536
protected function execute(InputInterface $input, OutputInterface $output): int
3637
{
37-
// TODO
38-
3938
$io = new SymfonyStyle($input, $output);
40-
$recipePath = $input->getOption('path');
39+
$io->block('Deployer ' . DEPLOYER_VERSION);
4140

41+
$recipePath = $input->getOption('path');
4242
$language = $io->choice('Select recipe language', ['php', 'maml'], 'php');
4343
if (empty($recipePath)) {
4444
$recipePath = "deploy.$language";

0 commit comments

Comments
 (0)