-
Notifications
You must be signed in to change notification settings - Fork 28
Hide telescope routes from route:list #1982
Comments
So all your telescope routes will be next to eachother, horizon routes etc. Just scroll past. Or if you're looking for something specific, ctrl+F is your friend. |
I can do that. But for simplification we could also add more options to display all routes. Idea:
|
I agree that with Telescope, Horizon or Nova routes, you don't really use them often, but many packages add routes to your app that you're going to use. Then, how do you differentiate them? |
Agreed. |
Having run into this issue it got me thinking would it be possible to have a method to exclude when using the filter options such as Similar to how you can exclude search terms in Google by prefixing with a minus symbol ("-excluded") maybe a similar format can be used? e.g. I realise that URLs have dashes in them but must be rare people would start with the dash? |
What you're asking for (kind of) already exists @stefancroweult : |
Sorry I may not have been clear - I meant enhancing the current filters, including So if I wanted all routes except /telescope I could do |
Then build it and create the PR? You could add a "not" option. Which removes items from the array if their path matches the given pattern[s]? It's really not difficult. |
But isn't this an Ideas board for discussing...."ideas".... 0_o |
Artisan command
php artisan route:list
displays all application routes.After telescope install it shows all telescope routes with application routes.
Ignore telescope routes to display in
php artisan route:list
command just like ignition package routes are doing.Before laravel/telescope installed.
After laravel/telescope installed.
The text was updated successfully, but these errors were encountered: