Completed
Push — master ( f9436b...7799f6 )
by Nassif
02:05
created

Push   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 66.67%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 11
ccs 2
cts 3
cp 0.6667
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A handle() 0 4 1
1
<?php
2
3
namespace Nikaia\TranslationSheet\Commands;
4
5
use Illuminate\Console\Command;
6
use Nikaia\TranslationSheet\Pusher;
7
8
class Push extends Command
9
{
10
    protected $signature = 'translation_sheet:push';
11
12
    protected $description = 'Push translation from your local languages files to the spreadsheet';
13
14 1
    public function handle(Pusher $pusher)
15
    {
16 1
        $pusher->withOutput($this->output)->push();
17
    }
18
}
19