mirror of
https://github.com/laravel/valet.git
synced 2026-02-05 08:30:07 +01:00
Merge pull request #110 from drbyte/missing-descriptions
Add missing descriptions
This commit is contained in:
@@ -119,7 +119,7 @@ function prependPath($path)
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the given path to the configuration.
|
||||
* Remove the given path from the configuration.
|
||||
*
|
||||
* @param string $path
|
||||
* @return void
|
||||
|
||||
@@ -136,7 +136,7 @@
|
||||
Caddy::restart();
|
||||
|
||||
info('The ['.$url.'] site has been secured with a fresh TLS certificate.');
|
||||
});
|
||||
})->descriptions('Secure the given domain with a trusted TLS certificate');
|
||||
|
||||
$app->command('unsecure [domain]', function ($domain = null) {
|
||||
$url = ($domain ?: Site::host(getcwd())).'.'.Configuration::read()['domain'];
|
||||
@@ -148,7 +148,7 @@
|
||||
Caddy::restart();
|
||||
|
||||
info('The ['.$url.'] site will now serve traffic over HTTP.');
|
||||
});
|
||||
})->descriptions('Deconfigure the given domain from using a TLS certificate, and serve HTTP again');
|
||||
|
||||
/**
|
||||
* Determine which Valet driver the current directory is using.
|
||||
|
||||
Reference in New Issue
Block a user