Skip to content

Commit

Permalink
update help text
Browse files Browse the repository at this point in the history
  • Loading branch information
pirate committed Mar 24, 2020
1 parent 83d913e commit 37f2cde
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bin/codimd
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,21 @@ Usage:
$SCRIPTNAME <command> [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 <path> [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/<private_note_id>
publish <note_id>
Publish a note as view-only html (hosted on server at /s/<note_name>).
Returns the public note ID $CODIMD_SERVER/s/<public_note_id>
export --md|--html|--pdf|--slides <note_id> <output_path>
export --md|--html|--pdf|--slides <note_id> [output_path]
Export the contents of a given note on the server to a given local path.
delete <note_id>
Expand Down

0 comments on commit 37f2cde

Please sign in to comment.