Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
Former Member
4 years agoHow can I use CLI in a GNU Makefile?
I'd like to set a GNU Make variable as an OP CLI session so that make commands can use 1Password. Any ideas? I know that I can set it as an environment variable before using make. I'm curious if ther...
MrC
4 years agoSuper Contributor
@chriskauffman
Try something like:
all:
eval $$(op signin --account https://my.1password.com) && op item list --format json | jq -c '.[]'