-
-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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:
--help
documentation updated. The helper function seems not to support a long form description. The doc is added to thehelp
field instead.