A command line note taking app built with Go
To build, make sure you have Go installed. Run go build
to
create a binary or go install
to add it to your GOPATH.
notes [command]
Available Commands:
add
: Add notesnotes add [notebook] "my 1st note" "my 2nd note" ..
- if
notebook
name is not supplied, it is added toDefault
notebook - if
notebook
doesn't exist, new notebook is created
help
: Help about any commandnotes help
ls
: List stuffnotes ls [notebook]
- if
notebook
name is not supplied, names of notebooks are displayed - if
notebook
name is supplied- if notebook by given name exists, all notes of that notebook are displayed along with their
note_id
s - if notebook by given name doesn't exist, only the entered notebook name is shown in output (needs to be improved)
- if notebook by given name exists, all notes of that notebook are displayed along with their
del
: Delete notesnotes del notebook note_id_1 note_id_2 ..
- if notebook by given name exists
- if note by given note_id exists, it is deleted; and note deletion message is displayed
- if note by given note_id doesn't exist, nothing happens. Note deleteion message still appears (needs to be fixed)
- if notebook by given name doesn't exist
- command terminates unexpectedly with stacktrace (needs to be fixed)
Use "notes [command] --help" for more information about a command.