CLI op new user questions

rodneyt
rodneyt
Community Member

Hi everyone,

CLI version 2.0 installed (OSX)/

Documentation at https://developer.1password.com/docs/cli/v1/get-started/ states sign in can be achieved with:

op signin my.1password.com wendy_appleseed@example.com

I tried:

op signin my.1password.com myemail.mydomain.com

Returns:
[ERROR] 2022/03/28 12:57:54 expected at most 0 arguments but got 2 instead
Usage: op signin [flags]

To confirm my details were correct I went to my.1password.com and successfully logged in with my email address and secret details.

What am I doing wrong please?

~ Rodney


1Password Version: 8.7.0
Extension Version: Not Provided
OS Version: OSX 12.2

Comments

  • Hey @rodneyt!

    Thank you for reaching out to us!
    From what I can tell, the documentation that you're looking at is from the 1Password CLI 1 (that's what v1 stands for, in the documentation link you provided).
    In order to add a new account to 1Password CLI 2, you will need to run op account add.
    Please, do have another look at these docs: https://developer.1password.com/docs/cli/get-started/ and let us know if you encounter any further problems!

    Best,
    Horia

This discussion has been closed.