Skip to content

Commit 1ebfb51

Browse files
author
nVitius
committed
Adding output to commands
1 parent 15239c7 commit 1ebfb51

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Command/Aws/Ec2/CopyImageCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,5 +70,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
7070
}
7171

7272
$result = $client->copyImage($options);
73+
$output->writeln($result->get('ImageId'));
7374
}
7475
}

Command/Aws/Ec2/CreateImageCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
6464
$client = $this->getClient();
6565

6666
$result = $client->createImage($options);
67-
68-
$output->wirteln($result);
67+
$output->writeln($result->get('ImageId'));
6968
}
7069
}

0 commit comments

Comments
 (0)