Skip to content
This repository was archived by the owner on Sep 18, 2020. It is now read-only.

Commit 9a30639

Browse files
committed
wip
1 parent 11e6ff5 commit 9a30639

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/UiCommand.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class UiCommand extends Command
1414
*/
1515
protected $signature = 'ui
1616
{ type : The preset type (bootstrap, vue, react) }
17+
{ --auth : Install authentication UI scaffolding }
1718
{ --option=* : Pass an option to the preset command }';
1819

1920
/**
@@ -40,7 +41,11 @@ public function handle()
4041
throw new InvalidArgumentException('Invalid preset.');
4142
}
4243

43-
return $this->{$this->argument('type')}();
44+
$this->{$this->argument('type')}();
45+
46+
if ($this->option('auth')) {
47+
$this->call('ui:auth', ['type' => $this->argument('type')]);
48+
}
4449
}
4550

4651
/**

0 commit comments

Comments
 (0)