Replies: 1 comment
-
You should be able to do this with the
The exact code required will depend on the structure of the data returned by |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to get and loop through multiple items in 1Password?
onepasswordDetailsFields
requires UUIDonepasswordDocument
requires UUIDonepasswordItemFields
requires UUIDThat means I need to create the item in 1Password, retrieve it's UUID, then add an entry to my template. Say I need to manage multiple entries with a similar structure, say
I would prefer to retrieve items based on say tags
op item list --format json --tags chezmoi,ivy
and loop through those in a template. That saves me touch the template for each item. I see two ways, having a specialized onepassword function that I can pass tags or a maybe a template function that accepts a generic cli command (egop item list --format json --tags chezmoi,ivy | jq -r .[].id
to extract the UUIDs) .Maybe it's already possible and I am missing a function?
Beta Was this translation helpful? Give feedback.
All reactions