feat: Filter would be exported entries based on JSONPath filter expression#208
Conversation
1bbf015 to
c4d98dc
Compare
2784350 to
592c673
Compare
4bd9315 to
4464b6e
Compare
|
Thanks. Nice feature. Can you make |
|
It was tested on 1Password but the logic is password manager independent. See unit test. With this filter feature, people can filter on anything data field exported. I filtered on tags and used 1Password as it is my use case. Let me know if your POV changed. |
|
I would rather keep it optional for now (I am the one getting the issue regarding missing deps...) |
|
Got it. There it is fixed. |
|
Thanks. Merged Edit: I was a bit fast to merge, now that I have fixed the CI, your PR seems to have some edge case: https://github.com/roddhjav/pass-import/actions/runs/7641446941/job/20818786230 |
|
Will look into it today and address the changes is #209 |
Here is an example, for imported entries with a 'tags' field, one can only export entries with tag value containing 'Defaults'.
This filter is independent of the input file format used as it runs prior to exporting entries to the target password manager.
Tested on:
Documentation:
--helpdocumentation updated. The helper function seems not to support a long form description. The doc is added to thehelpfield instead.