No description
  • Go 90.7%
  • SCSS 7.4%
  • Shell 1.4%
  • Makefile 0.2%
  • JavaScript 0.2%
Find a file
Sung Won Cho ed3827a157 Merge pull request #20 from michielboekhoff/show-books
Create entry in dnote file on `use`.
2017-04-23 17:13:15 +10:00
assets Add img 2017-04-01 15:15:05 +11:00
cmd use now creates a new book entry in the Dnote file. 2017-04-20 15:30:48 +01:00
upgrade Update interface to work with JSON 2017-04-09 16:52:54 +10:00
utils use now creates a new book entry in the Dnote file. 2017-04-20 15:30:48 +01:00
.gitignore Rename channel to book 2017-03-31 16:16:50 +11:00
install.sh Warn if elevated permission is needed 2017-04-08 12:00:26 +10:00
LICENSE Add license 2017-03-31 10:09:35 +11:00
main.go use now creates a new book entry in the Dnote file. 2017-04-20 15:30:48 +01:00
Makefile Fix make and document newly added commands 2017-04-16 13:03:21 +10:00
README.md Fix make and document newly added commands 2017-04-16 13:03:21 +10:00

Dnote CLI

Dnote

A command line interface for spontaneously capturing the things you learn while coding

Installation

On macOS, or Linux, run:

curl -s https://raw.githubusercontent.com/dnote-io/cli/master/install.sh | sh

In some cases, you might need sudo. Feel free to inspect install.sh:

curl -s https://raw.githubusercontent.com/dnote-io/cli/master/install.sh | sudo sh

On Windows, download binary

Overview

Dnote categorizes your notes by books.

All your books and notes are stored in $HOME/.dnote as a JSON file.

You can optionally sync your note with Dnote server. Syncing will allow you to interact with your notes using the web frontend at https://dnote.io, and set up digest notifications.

Commands

dnote use [book name]

alias: u

Change the book to write your note in.

e.g.

dnote use linux

dnote new "[note]"

alias: n

Write a new note under the current book.

e.g.

dnote new "set -e instructs bash to exit immediately if any command has non-zero exit status"

dnote books

alias: b

List all the books that you created

e.g.

$ dnote books
  javascript
* linux
  tmux
  css

dnote notes

List all notes in the current book

Options

  • -b [book name]

Specify the name of the book to read from

e.g.

$ dnote notes
On note JS
* .bind() creates a new function
* arrow function uses less memory than function with .bind()
* the time passed to setTimeout is minimum, no guaranteed time

dnote sync

Sync notes with Dnote server

dnote login

Start a login procedure which will store the APIKey to communicate with the server

License

MIT


Made by sung