Forum Discussion

Maciejf85's avatar
Maciejf85
New Contributor
3 years ago

How to create a login item with 2 urls

Hi, how do I pass 2 arguments --url or "website[url]..." so that both appear in the created item. I tried in different ways, it is possible to get this effect from the 1password application on macos, but I don't know how to do it using the CLI.

I saw this post https://1password.community/discussion/128443/create-login-item-with-multiple-url but for me the answer is unclear and I still don't know how to send more than 1 url to the created item

the effect I would like to achieve using the CLI:


1Password Version: 8.10.3
Extension Version: 2.8.1
OS Version: ventura 13.2.1
Browser:_ Not Provided

2 Replies

  • Jack_P_1P's avatar
    Jack_P_1P
    Icon for 1Password Team rank1Password Team

    Hi Maciejf85:

    The 1Password CLI beta releases has the --autofill-urls flag, which you can use to add multiple URLs to an item. Here's an example of how you might use it:

    op item create [...] --autofill-urls "https://example.com,website2=https://example.net,website3=https://example.org"

    Let me know how you get on with that!

    Jack