Skip to content

ifennna/notes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

notes

A command line note taking app built with Go

asciicast

Installation

To build, make sure you have Go installed. Run go build to create a binary or go install to add it to your GOPATH.

Usage

notes [command]

Available Commands:

  • add: Add notes
    • notes add [notebook] "my 1st note" "my 2nd note" ..
    • if notebook name is not supplied, it is added to Default notebook
    • if notebook doesn't exist, new notebook is created
  • help: Help about any command
    • notes help
  • ls: List stuff
    • notes 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_ids
      • if notebook by given name doesn't exist, only the entered notebook name is shown in output (needs to be improved)
  • lsa: List stuff
    • notes lsa
    • names of notebooks are displayed and notes in each notebook are displayed as a tree
  • del: Delete notes
    • notes 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)
  • rm: Removes a notebook
    • notes rm notebook
    • if notebook doesn't exist, nothing changes

Use "notes [command] --help" for more information about a command.

Releases

No releases published

Packages

No packages published

Languages