I use the current Notes app on my iOS devices. It syncs nicely to my desktop. However there I prefer to work on text files - usually in the command line. Particularly I am looking for a way to export notes to a text format and to create or append a note from a text file from the command line.
Is there any information how to interact with these notes? I find it hard finding any information as the name "Notes" is so generic.