We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8baa93 commit 9d7bc2fCopy full SHA for 9d7bc2f
src/Commands/InstallCommand.php
@@ -9,6 +9,7 @@
9
use Illuminate\Support\Facades\File;
10
use Illuminate\Support\Sleep;
11
use Illuminate\Support\Str;
12
+use Laravel\Prompts\Prompt;
13
use ReflectionClass;
14
use ReflectionProperty;
15
use function Laravel\Prompts\confirm;
@@ -25,6 +26,8 @@ class InstallCommand extends Command
25
26
27
public function handle(AppSettings $settings)
28
{
29
+ Prompt::fallbackWhen(!$this->input->isInteractive());
30
+
31
intro('Welcome to the Cachet installer!');
32
33
Sleep::for(2)->seconds();
0 commit comments