Completed
Push — master ( 89313f...8b5ee1 )
by Nassif
02:33
created

Push   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 11
ccs 3
cts 3
cp 1
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 1
    }
18
}
19