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:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user