How can I retrieve the file referenced by a 'Document' Item via the V2 CLI?

Options
stopsineman
stopsineman
Community Member

I have several 'document' Items stored in a Vault that I'd like to reference dynamically from the command line rather than having to download them from the 1Password App and reference them on my filesystem. Is there a way to do that? I can see the file in the output of

op item get --vault '<vault>' '<item nam>' --format json | jq '.files[0].content_tpath'

but I can't actually get the file itself in anyway that I can tell.

$ op --version
2.2.0

1Password Version: 8.8.0
Extension Version: Not Provided
OS Version: Not Provided
Browser:_ Not Provided

Comments

This discussion has been closed.