nncli

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

commit 579792997b0ce3f7068c0a6919e991c469d83342
parent 34851185be9b6de1528951eaa2e80c22698e9127
Author: Samuel Walladge <samuel@swalladge.id.au>
Date:   Mon, 19 Jun 2017 10:47:57 +0930

improve usage text and update in readme

Diffstat:
MREADME.md | 5++++-
Msimplenote_cli/sncli.py | 1+
2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md @@ -79,19 +79,22 @@ Usage: OPTIONS: -h, --help - usage help - -v, --verbose - verbose output (cli mode) + -v, --verbose - verbose output -n, --nosync - don't perform a server sync -r, --regex - search string is a regular expression -k <key>, --key=<key> - note key -t <title>, --title=<title> - title of note for create (cli mode) + -c <file>, --config=<file> - config file to read from (defaults to ~/.snclirc) COMMANDS: <none> - console gui mode when no command specified sync - perform a full sync with the server list [search_string] - list notes (refined with search string) + export [search_string] - export notes in JSON (refined with search string) dump [search_string] - dump notes (refined with search string) create [-] - create a note ('-' content from stdin) import [-] - import a note in JSON format ('-' JSON from stdin) + export - export a note in JSON format (specified by <key>) dump - dump a note (specified by <key>) edit - edit a note (specified by <key>) < trash | untrash > - trash/untrash a note (specified by <key>) diff --git a/simplenote_cli/sncli.py b/simplenote_cli/sncli.py @@ -1214,6 +1214,7 @@ def usage(): <none> - console gui mode when no command specified sync - perform a full sync with the server list [search_string] - list notes (refined with search string) + export [search_string] - export notes in JSON (refined with search string) dump [search_string] - dump notes (refined with search string) create [-] - create a note ('-' content from stdin) import [-] - import a note in JSON format ('-' JSON from stdin)