After finally figuring out how to get the CLI working via shell-script wrappers, I have now written some python scripts for managing Secure Notes via the CLI ... currently, these work in version 0.4.1.
I chose python because it offers more programming capabilities than shell languages, such as a json module that eliminates the need for hacking around with jq. Also, I didn't choose go, because I have years of experience with python, but am still learning go.
These scripts can create, view, update, and delete Secure Notes. The only caveat is that by "delete", I mean "put them in the Trash". The Trash will still have to be emptied manually via the 1Password UI. Once the CLI offers an empty-the-Trash capability (please!!!), I can update these python programs so they don't leave lots of dangling garbage sitting around in the Trash.
As soon as I finish writing this message, I will post the scripts here, one by one, in this thread. Here's a summary ...
op-item-exists-- python program: tests for the existence of any item in any vault (used internally in the other programs)
op-get-note-- python program: retrieves the contents of any Secure Note
op-put-note-- python program: creates or updates a Secure Note
op-rm-note-- python program: deletes a Secure Note
op-create-note-- shell script: very thin wrapper around
op-put-notewhich only does creation of Secure Notes
op-update-note-- shell script: very thin wrapper around
op-put-notewhich only does updating of Secure Notes
1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Sync Type: Not Provided