Completed
Pull Request — master (#9)
by ANTHONIUS
02:18
created

ShellCommand::execute()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
c 0
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 2
1
<?php
2
3
namespace Dotfiles\Core\Command;
4
5
use Symfony\Component\Console\Input\InputInterface;
6
use Symfony\Component\Console\Output\OutputInterface;
7
use Dotfiles\Core\Console\Shell;
8
9
/**
10
 * ShellCommand
11
 *
12
 * @author Anthonius Munthi [email protected]
13
 */
14
class ShellCommand extends Command
15
{
16
    protected function configure() {
17
        $this
18
            ->setName('shell')
19
            ->setDescription('Execute dotfiles shell')
20
        ;
21
    }
22
    
23
    protected function execute(InputInterface $input, OutputInterface $output) {
24
        $shell = new Shell($this->getApplication());
25
        $shell->run();
26
    }
27
}
28