teamtnt / laravel-scout-tntsearch-driver

Driver for Laravel Scout search package based on https://github.com/teamtnt/tntsearch
MIT License
1.1k stars 142 forks source link

Allow the status command with no model given to read from config #352

Closed billypoke closed 1 year ago

billypoke commented 1 year ago

We are using the nwidart/laravel-modules package and would like to be able to see the status of indexed models, but they are not located in the default location. We can view one at a time by passing the class string, but the "all" status with no model always uses app as its target.

This PR allows the default location to be overridden with a config option, while still defaulting to the current behavior