TIL 1Password has a command line tool named op.[1] It requires authenticating with your 1Password credentials and any granted authentication is said to time out after 30 minutes.
It looks useful and I'm thinking about downloading it, but if I did, I might not leave the binary as-named and I probably wouldn't locate it in /usr/local/bin, etc.
[1] https://support.1password.com/command-line-getting-started