Would be great to have --exclude path option, to avoid picking up localisation from Pods and imported libraries
For example project has this structure:
- Module1
- Module2
- Module3
- Pods
running bartycrouch code -p . will include localization from Pods or any third party libraries happen to be relative to project root. It mixes those 3rd party strings into your Localizable.strings.
Yes, the sources can be organized under something like /src in root of project, but that never happens. Sources are never in their own separate subtree.
As workaround paths can be included by running command multiple times. bartycrouch code -p Module1 , bartycrouch code -p Module2 etc. but that is not sustainable.