wp-pot / wp-pot-cli

Run wp-pot script via cli
MIT License
37 stars 5 forks source link

Scan subfolders? #50

Closed UVLabs closed 5 years ago

UVLabs commented 5 years ago

It doesn't seem like the command scans through subfolders, just the top level folder and then creates the translations for the files in that top level folder

rasmusbe commented 5 years ago

No, you can use wildcards in the src paths.

UVLabs commented 5 years ago

@rasmusbe I believed I tried that can you give an example?

I have php files in the root, then I have php files in the folders that are in the root, and those folders also have folders that have php with translatable strings files in them

rasmusbe commented 5 years ago

wp-pot --src '**/*.php'