From 48298f5c129ea03d0c6ca5c9a0d20f7650c88ec8 Mon Sep 17 00:00:00 2001 From: Rolf Niepraschk <Rolf.Niepraschk@ptb.de> Date: Wed, 27 Mar 2024 11:12:33 +0100 Subject: [PATCH] "json2couch" --> "json2couchdb" --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index dcc99f9..ccd3196 100644 --- a/README.md +++ b/README.md @@ -37,15 +37,15 @@ optional arguments: ### Send the content of files ``` -python3 json2couch.py -d xxx '*.json' +python3 json2couchdb.py -d xxx '*.json' ``` ### Read content from standard input ``` -cat foo.json | python3 json2couch.py -d xxx - +cat foo.json | python3 json2couchdb.py -d xxx - -curl -s http://myhost:5984/xxx/mydocument | python3 json2couch.py -H myhost -d yyy - +curl -s http://myhost:5984/xxx/mydocument | python3 json2couchdb.py -H myhost -d yyy - ``` Note: When reading from standard input, the JSON structure must contain an `_id` entry. -- GitLab