From 37f2cde8dcd657ab1cec17dd910db392b906936f Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Tue, 24 Mar 2020 02:23:56 -0400 Subject: [PATCH] update help text --- bin/codimd | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/codimd b/bin/codimd index a17d248..836112c 100755 --- a/bin/codimd +++ b/bin/codimd @@ -31,19 +31,21 @@ Usage: $SCRIPTNAME [args...] \$ $SCRIPTNAME login --email - \$ $SCRIPTNAME import ~/Desktop/test.txt new-example-note + \$ $SCRIPTNAME import ~/Desktop/test.txt + \$ $SCRIPTNAME export --md somenoteidhere \$ $SCRIPTNAME history Commands: import [note_id] Import the contents of a given file as a new CodiMD note on the server. + Takes an optional note_id, if not given it will generate a random one. Returns the private note ID $CODIMD_SERVER/ publish Publish a note as view-only html (hosted on server at /s/). Returns the public note ID $CODIMD_SERVER/s/ - export --md|--html|--pdf|--slides + export --md|--html|--pdf|--slides [output_path] Export the contents of a given note on the server to a given local path. delete