Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
Former Member
4 years agoIssues migrating to verion 2
Hey guys I had been 1password CLI to grab a bunch of secure notes as part of an Automation script to set up a bunch of development projects faster. (Downloading secure notes containing environment se...
1P_Simon
1Password Team
4 years agoHi @BradTH, I'm sorry to hear about your initial experiences with v2! Happy to hear you've found the --format json option now. How do you like v2 now that you've found this?
If you'd like to always return JSON, setting the OP_FORMAT environment variable to json might be useful for you, so you don't have to pass the flag to each and every command that you run.
Have you already found the https://developer.1password.com/docs/cli/upgrade/? I'll file an internal ticket for us to document --format and $OP_FORMAT there.