1Password is a cloud based password manager. For most typical usage it is best practice to use the GUI that is available for Windows, iOS, MacOS, Android etc. However sometimes it is better to use it in the command line form as it is much less recognisable. The 1Password CLI is very powerful so it should be used with care as it can be accessed to show all password in plain text. It is still locked behind the devices lock system but this is only as secure as the user has made it. The CLI still requires the GUI to be installed so it is not a replacement.
Setup
Download and install 1Password CLI
Restart the terminal
Open 1Password GUI
Navigate to settings
Navigate to developer settings
Enable "Connect with 1Password CLI"
Navigate to Security
Enable device unlock
Exit settings
Lock 1Password GUI
Return to terminal
Type: OP SIGNIN
Unlock 1Password GUI
Type: OP SIGNIN
List Accounts
op item list
Show Account Password
op item get "<account>"