dnote/COMMANDS.md
Sung Won Cho 0965f76d96
Build for Windows (#166)
* Fix compilation for Windows

* Update README
2019-03-31 16:55:36 +11:00

1.6 KiB

Commands

dnote add

alias: a, n, new

Add a new note to a book.

# Launch a text editor to add a new note to the specified book.
dnote add linux

# Write a new note with a content to the specified book.
dnote add linux -c "find - recursively walk the directory"

dnote view

alias: v

  • List books or notes.
  • View a note detail.
# List all books.
dnote view

# List all notes in a book.
dnote view golang

# See details of a note
dnote view golang 12

dnote edit

alias: e

Edit a note.

# Launch a text editor to edit a note with the given index.
dnote edit linux 1

# Edit a note with the given index in the specified book with a content.
dnote edit linux 1 -c "New Content"

dnote remove

alias: d

Remove either a note or a book.

# Remove the note with `index` in the specified book.
dnote remove JS 1

# Remove the book with the `book name`.
dnote remove -b JS

dnote find

alias: f

Find notes by keywords.

# find notes by a keyword
dnote find rpoplpush

# find notes by multiple keywords
dnote find "building a heap"

# find notes within a book
dnote find "merge sort" -b algorithm

dnote sync

Dnote Pro only

alias: s

Sync notes with Dnote server. All your data is encrypted before being sent to the server.

dnote login

Dnote Pro only

Start a login prompt.

dnote logout

Dnote Pro only

Log out of Dnote.