Completed
Push — master ( e7eb1b...a0da34 )
by Nassif
11:03
created

Pull::handle()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 3
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
crap 2
1
<?php
2
3
namespace Nikaia\TranslationSheet\Commands;
4
5
use Illuminate\Console\Command;
6
use Nikaia\TranslationSheet\Puller;
7
8
class Pull extends Command
9
{
10
    protected $signature = 'translation_sheet:pull';
11
12
    protected $description = 'Pull translations from spreadsheet and override local languages files';
13
14
    public function handle(Puller $puller)
15
    {
16
        $puller->withOutput($this->output)->pull();
17
    }
18
}
19