op item edit fails with python subprocess

amorera
amorera
Community Member
edited April 10 in CLI

I am trying the execute this command on Ubuntu and cli 2.26.1, but I have not been able to do the editing

    subprocess.run(
            [
                "op",
                "item",
                "create",
                "--category",
                "Secure Note",
                "--title",
                "new item",
                "--vault",
                VAULT,
                "--tags",
                "new",
                "content[text]=my content",
            ],
        )

I can execute other commands for example

subprocess.check_output(
["op", "item", "list", "--vault", VAULT, "--format", "json"]
)


1Password Version: 2.26.1
Extension Version: Not Provided
OS Version: Ubuntu latest
Browser: Not Provided

This discussion has been closed.