Open
Description
https://developer.wordpress.org/cli/commands/i18n/make-pot/
glob patterns can be used, i.e. --exclude=foo-.php
Simple glob patterns can be used, i.e. --include=foo-.php
The shell (tries to) glob this prematurely and this can lead to unexpected results if these exist in the current working directory. To prevent that and get the glob handling by wp cli, it would have to be --include="foo-*.php"
?