We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b112a9c commit 9e90c69Copy full SHA for 9e90c69
bin/laravel-coderunner
@@ -1,6 +1,17 @@
1
#!/usr/bin/env php
2
<?php
3
4
+/*
5
+ * Install or reset default larvel app
6
+ */
7
+if (in_array($argv[1] ?? null, ['default', 'reset'])) {
8
+ $command = 'composer run-script install-laravel -d ' . str_replace('/bin', '', __DIR__);
9
+ echo 'Installing default laravel app.' . PHP_EOL;
10
+ echo "\e[1m> \e[2;32m" . $command . "\e[0m" . PHP_EOL;
11
+ shell_exec($command);
12
+ die('Done.' . PHP_EOL);
13
+}
14
+
15
/*
16
* Path to Laravel application (fallback to default laravel app)
17
*/
0 commit comments