1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-06 00:40:06 +01:00

Added Share Command to the List of Commands

Thanks to @adamwathan for the help
This commit is contained in:
akoury
2016-09-24 10:00:44 -04:00
committed by GitHub
parent a058c1251e
commit 1ddccf1ca9

View File

@@ -197,6 +197,13 @@
passthru("open ".escapeshellarg($url));
})->descriptions('Open the site for the current directory in your browser');
/**
* Generate a publicly accessible URL for your project.
*/
$app->command('share', function () {
warning("It looks like you are running `cli/valet.php` directly, please use the `valet` script in the project root instead.");
})->descriptions('Generate a publicly accessible URL for your project');
/**
* Echo the currently tunneled URL.
*/