Skip to content

JemmyH/tnote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tnote

tnote is a terminal notebook app with password, in which you can record some notes in your terminal.

Install

$ cd $GOPATH && mkdir jemmyh && cd jemmyh && git clone https://github.com/JemmyH/tnote.git
$ cd tnote && go build -o tnote && mv tnote $GOPATH/bin/

or install with go get:

go get -u -v github.com/JemmyH/tnote

Usage

$ tnote
Terminal Notebook is CLI App, which is implemented by Golang.

Usage:
   [command]

Available Commands:
  add         Add a note to your notebook
  create      Create a notebook
  delete      Delete notes prefixed with id
  help        Help about any command
  print       Print notes in your notebook
  version     Show version

Flags:
  -h, --help           help for this command
  -o, --owner string   owner of notebook

For each subcommand, use tnote help xxx for detail usage.

create a notebook

tnote create --owner=xxx

add a note

tnote add --owner=xxx --content=hello world

delete notes which has prefixed id

tnote delete --owner=xxx --id=20200102

print notes from past to now

tnote --owner=xxx print -v