1
0
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:
Adam Wathan
2016-08-14 09:29:18 -04:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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.