Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 0 |
1 | <?php |
||
22 | protected function execute(InputInterface $input, OutputInterface $output) |
||
23 | { |
||
24 | $output->writeln( |
||
25 | "<fg=white;bg=cyan>\n\n Beginning board synchronization !\n</>\n" |
||
26 | ); |
||
27 | $messages = $this->getContainer()->get('scrumban.trello_manager')->sync($input->getArgument('board_name')); |
||
28 | |||
29 | foreach ($messages as $type => $message) { |
||
30 | $output->writeln("<{$type}>$message</{$type}>"); |
||
31 | } |
||
32 | $output->writeln( |
||
33 | "<fg=white;bg=green>\n\n Synchronization is complete !\n</>\n" |
||
34 | ); |
||
36 | } |