I've written a simple wrapper [2] to make it easy to use.
[1] https://support.1password.com/command-line-getting-started/
[2] https://github.com/dcreemer/1pass