Passed
Push — dependabot/npm_and_yarn/string... ( b56eb5...bc569b )
by
unknown
45:46 queued 33s
created

CreateDeveloper   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 8
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
wmc 1
1
<?php
2
3
namespace Thinktomorrow\Chief\App\Console;
4
5
use Illuminate\Support\Facades\Artisan;
6
use Thinktomorrow\Chief\Authorization\AuthorizationDefaults;
7
8
class CreateDeveloper extends BaseCommand
9
{
10
    protected $signature = 'chief:developer';
11
    protected $description = 'Create a new chief developer user';
12
13
    public function handle()
14
    {
15
        $this->call('chief:admin', ['--dev' => true]);
16
    }
17
}
18