mirror of
https://github.com/laravel/valet.git
synced 2026-02-06 00:40:06 +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
|
* @param string $path
|
||||||
* @return void
|
* @return void
|
||||||
|
|||||||
@@ -136,7 +136,7 @@
|
|||||||
Caddy::restart();
|
Caddy::restart();
|
||||||
|
|
||||||
info('The ['.$url.'] site has been secured with a fresh TLS certificate.');
|
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) {
|
$app->command('unsecure [domain]', function ($domain = null) {
|
||||||
$url = ($domain ?: Site::host(getcwd())).'.'.Configuration::read()['domain'];
|
$url = ($domain ?: Site::host(getcwd())).'.'.Configuration::read()['domain'];
|
||||||
@@ -148,7 +148,7 @@
|
|||||||
Caddy::restart();
|
Caddy::restart();
|
||||||
|
|
||||||
info('The ['.$url.'] site will now serve traffic over HTTP.');
|
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.
|
* Determine which Valet driver the current directory is using.
|
||||||
|
|||||||
Reference in New Issue
Block a user