tolgee / tolgee-cli

The Tolgee CLI
MIT License
16 stars 11 forks source link

Feature Request: Add option to filter by key pattern of tolgee tag #122

Open paulwer opened 1 month ago

paulwer commented 1 month ago

Hi folks, we want to apply some tags to our extracted keys. We want to apply some tags based on the patern of the key and will do some additional checks afterward.

Therefore a parameter like --filter-key-pattern startwith- or --filter-no-key-pattern -endWith

would be very usefull.

Thanks yall :)

JanCizmar commented 1 month ago

Hey! Thanks for the request. Can you please share more about your use case for this?

paulwer commented 1 month ago

our use-case is, that we have multiple folders within our repo, which require multiple sync commands And we want to select some of the prefixes in order to assign additional tags to them. f.ex. like unused or production

Therefore we can not just use the flag --filter-no-extracted

An workaround for now would be to tag them once initialy and then use the tag filter.

This would be sufficient for our current use-case, therefore considder this as optional, because it would be nice to have i guess :)