Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
flyinprogrammer
2 years agoNew Contributor
--format json could influence the error outputs
When you add "--format json" to a command, for example:
op item get sandwich --vault private --format json
If sandwich doesn't exist, you'll get:
[ERROR] 2024/04/24 20:11:53 "san...
Dayton_ag
1Password Team
2 years agoHey flyinprogrammer, good idea! I can definitely see how JSON-formatted errors would be helpful, especially when invoking the CLI in a context where it's desired to handle the error. I can't make any promises for future changes, but I've shared this feedback with the team. 😃