nncli

NextCloud Notes Command Line Interface
git clone git://git.danielmoch.com/nncli.git
Log | Files | Refs | LICENSE

commit 47f43dd5b5981fca67fe9723cb14b8461fea280d
parent 0207204bdf1e4906d3cafa271ee04ef3c9d56797
Author: Samuel Walladge <samuel@swalladge.id.au>
Date:   Sat, 24 Sep 2016 12:52:36 +0930

add info about importing to readme

Diffstat:
MREADME.md | 12++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -194,6 +194,18 @@ example: /tag:tag1 tag:tag2 word1 "word2 word3" tag:tag3 ``` + +### Importing + +sncli can import notes from raw json data (via stdin or editor). For example: + +``` +echo '{"tags":["testing","new"],"content":"New note!"}' | sncli import - +``` + +Allowed fields are `content`, `tags`, `systemtags`, `modifydate`, `createdate`, and `deleted`. + + ### Tricks I personally store a lot of my notes in