mirror of
https://github.com/dnote/dnote
synced 2026-03-14 22:45:50 +01:00
parent
73526a943c
commit
0965f76d96
3 changed files with 20 additions and 11 deletions
12
COMMANDS.md
12
COMMANDS.md
|
|
@ -45,7 +45,7 @@ dnote view golang 12
|
|||
|
||||
_alias: e_
|
||||
|
||||
Edit a note
|
||||
Edit a note.
|
||||
|
||||
```bash
|
||||
# Launch a text editor to edit a note with the given index.
|
||||
|
|
@ -59,7 +59,7 @@ dnote edit linux 1 -c "New Content"
|
|||
|
||||
_alias: d_
|
||||
|
||||
Remove either a note or a book
|
||||
Remove either a note or a book.
|
||||
|
||||
```bash
|
||||
# Remove the note with `index` in the specified book.
|
||||
|
|
@ -73,7 +73,7 @@ dnote remove -b JS
|
|||
|
||||
_alias: f_
|
||||
|
||||
Find notes by keywords
|
||||
Find notes by keywords.
|
||||
|
||||
```bash
|
||||
# find notes by a keyword
|
||||
|
|
@ -92,16 +92,16 @@ _Dnote Pro only_
|
|||
|
||||
_alias: s_
|
||||
|
||||
Sync notes with Dnote cloud
|
||||
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
|
||||
Start a login prompt.
|
||||
|
||||
## dnote logout
|
||||
|
||||
_Dnote Pro only_
|
||||
|
||||
Log out of Dnote
|
||||
Log out of Dnote.
|
||||
|
|
|
|||
17
README.md
17
README.md
|
|
@ -1,6 +1,6 @@
|
|||
# Dnote CLI
|
||||
|
||||
A command line interface for spontaneously capturing the things you learn while coding.
|
||||
A command line interface for a simple, encrypted notebook that respects your privacy.
|
||||
|
||||

|
||||
|
||||
|
|
@ -28,11 +28,20 @@ Otherwise, you can download the binary for your platform manually from the [rele
|
|||
|
||||
## Overview
|
||||
|
||||
Write technical notes without getting distracted from programming. The reasons are:
|
||||
Write down notes in total privacy, without leaving the command line.
|
||||
|
||||
Try keeping technical notes using Dnote. The reasons are:
|
||||
|
||||
- You are not distracted from programming while using Dnote.
|
||||
- We forget exponentially unless we write down what we learn and come back.
|
||||
- Ideas cannot be grokked unless we can put them down in clear words.
|
||||
|
||||
Sync your notes to Dnote server and receive automated email digests for spaced repetition.
|
||||
|
||||
## Security
|
||||
|
||||
All your data is encrypted using AES256 when you sync with the server. Dnote has zero knowledge about the contents and cannot decrypt your data.
|
||||
|
||||
## Commands
|
||||
|
||||
Please refer to [commands](/COMMANDS.md).
|
||||
|
|
@ -40,7 +49,7 @@ Please refer to [commands](/COMMANDS.md).
|
|||
## Links
|
||||
|
||||
- [Dnote](https://dnote.io)
|
||||
- [Dnote Cloud](https://dnote.io/pricing)
|
||||
- [Browser Extension](https://github.com/dnote/browser-extension)
|
||||
- [Dnote Pro](https://dnote.io/pricing)
|
||||
- [Browser extension](https://github.com/dnote/browser-extension)
|
||||
|
||||
[](https://travis-ci.org/dnote/cli)
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ func PromptInput(message string, dest *string) error {
|
|||
func PromptPassword(message string, dest *string) error {
|
||||
log.Askf(message, true)
|
||||
|
||||
password, err := terminal.ReadPassword(syscall.Stdin)
|
||||
password, err := terminal.ReadPassword(int(syscall.Stdin))
|
||||
if err != nil {
|
||||
return errors.Wrap(err, "getting user input")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue