Most efficient way to see if a user is currently logged in
AustinGray
Community Member
in CLI
Hello, I am using the cli in several scripts and I am checking if the user is logged in by running op list items
but it's a pretty bulky request. I'm curious what the most efficient/fastest command would be to verify that the user is logged in? Thank you.
1Password Version: CLI 0.4.1
Extension Version: Not Provided
OS Version: macOS 10.13.4
Sync Type: Not Provided
0
Comments
-
@AustinGray The fastest one there would be to use
op get account
:)0 -
that's great, thank you
0 -
Glad cohix was able to help. We're here if you have any other questions! :)
0
This discussion has been closed.