Skip to content

Commit 37f2cde

Browse files
committed
update help text
1 parent 83d913e commit 37f2cde

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

bin/codimd

+4-2
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,21 @@ Usage:
3131
$SCRIPTNAME <command> [args...]
3232
3333
\$ $SCRIPTNAME login --email
34-
\$ $SCRIPTNAME import ~/Desktop/test.txt new-example-note
34+
\$ $SCRIPTNAME import ~/Desktop/test.txt
35+
\$ $SCRIPTNAME export --md somenoteidhere
3536
\$ $SCRIPTNAME history
3637
3738
Commands:
3839
import <path> [note_id]
3940
Import the contents of a given file as a new CodiMD note on the server.
41+
Takes an optional note_id, if not given it will generate a random one.
4042
Returns the private note ID $CODIMD_SERVER/<private_note_id>
4143
4244
publish <note_id>
4345
Publish a note as view-only html (hosted on server at /s/<note_name>).
4446
Returns the public note ID $CODIMD_SERVER/s/<public_note_id>
4547
46-
export --md|--html|--pdf|--slides <note_id> <output_path>
48+
export --md|--html|--pdf|--slides <note_id> [output_path]
4749
Export the contents of a given note on the server to a given local path.
4850
4951
delete <note_id>

0 commit comments

Comments
 (0)