We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4c0c98 commit 99c2f64Copy full SHA for 99c2f64
cli/valet.php
@@ -93,10 +93,14 @@
93
/**
94
* Register a symbolic link with Valet.
95
*/
96
- $app->command('link [name]', function ($name) {
+ $app->command('link [name] [--secure]', function ($name, $secure) {
97
$linkPath = Site::link(getcwd(), $name = $name ?: basename(getcwd()));
98
99
info('A ['.$name.'] symbolic link has been created in ['.$linkPath.'].');
100
+
101
+ if ($secure) {
102
+ $this->runCommand('secure '.$name);
103
+ }
104
})->descriptions('Link the current working directory to Valet');
105
106
0 commit comments