-
Notifications
You must be signed in to change notification settings - Fork 96
Add support for configuration dirs #77
Copy link
Copy link
Open
Description
PHP has a setting, which set by default on e.g. Debian/Ubuntu, to load additional configuration files.
Looking at the output of iniscan scan --help I don't see an easy way to mimic this behavior quickly.
Suggestion: let --path also accept a directory by automatically reading all *.ini files in there; that's how PHP itself works
Another observation / suggestion:
Since providing a file/dir (=path) is essentially the required thing to perform anything useful I would suggest to simply drop --path option and use Symfonys arguments which don't require that prefix, effectively turning
iniscan scan --path foo.ini into iniscan scan foo.ini
This would also allow it easier to specify multiple filers, e.g. iniscan scan /etc/php5/cli/conf.d/*.ini
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels