Skip to content

Commit

Permalink
Add description to secured command (#1288)
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanGoss authored Oct 24, 2022
1 parent 305736b commit b848317
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/valet.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,15 +223,15 @@
})->descriptions('Stop serving the given domain over HTTPS and remove the trusted TLS certificate');

/**
* Get all the current secured sites.
* Display all of the currently secured sites.
*/
$app->command('secured', function () {
$sites = collect(Site::secured())->map(function ($url) {
return ['Site' => $url];
});

table(['Site'], $sites->all());
});
})->descriptions('Display all of the currently secured sites');

/**
* Create an Nginx proxy config for the specified domain.
Expand Down

0 comments on commit b848317

Please sign in to comment.