~porcellis/t

76f0d05594d303338a1233498fa724d05a40b261 — Pedro Lucas Porcellis 1 year, 7 months ago 2440779 structure
Generate a simple and nice doc
2 files changed, 41 insertions(+), 1 deletions(-)

M Makefile
A docs/t.1
M Makefile => Makefile +4 -1
@@ 8,6 8,9 @@ all: t
		mkdir -p $(dir $(PKGPATH))
		ln -fTrs $(realpath .) $(PKGPATH)

doc:
	gzip -c docs/t.1 > docs/t.1.gz

t: .go
	env GOPATH=$(GOPATH) go build -o $@ ./main.go



@@ 18,4 21,4 @@ clean:
	rm -rf t

.PHONY:
	t get clean
	t get clean doc

A docs/t.1 => docs/t.1 +37 -0
@@ 0,0 1,37 @@
.TH t 1
.SH NAME
t \- manage your notes
.SH SYNOPSIS
.B t
[\fB\-l\fR]
[\fB\-c\fR \f\\'Title of your note'\fR]
[\fB\-e\fR \f\index\fR]

.SH DESCRIPTION
.B t
a simple utility to manage your notes using Markdown

.SH OPTIONS

.TP
.B \-l 
List all notes created by the modification date

.TP
.BR \fB\-c\fR \ 'Title\ of\ your\ note'
Create a new note using the title you specified or
generate one using the current time

.TP
.BR \-e \ \f\index\fR
Edit a note fetching by it's index where zero it's 
the most recent note

.SH LICENSE

t is licensed under GNU GPL v3. You can get yourself a copy on LICENSE file.

.SH AUTHORS

t is an free and open source project. It's being maintained by Pedro Lucas Porcellis <pedrolucasporcellis@gmail.com>
and hosted on https://git.sr.ht/~porcellis/t.