benschw / gtd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Configure

Configure with ENV variables

Set default Context

export GTD_CONTEXT=@work

Configure storage backend

Github Issues Backend

configure app to store todos as github issues by configuring an access token and repo to store to

export GTD_REPO=ghissues
export GTD_GH_TOKEN=XXXXXXX
export GTD_GH_USER=benschw
export GTD_GH_REPO=gtd

Usage

gtd action [id] [meta[,meta[,...]]] [subject]

Actions

a add a todo

gtd a @work \#foo Hello World
1

c mark todo as closed

gtd c 1
1

l list todos (filtered by meta, l is optional

gtd @work
# list of all @work todos

m modify todo

gtd m 1 @home -\#foo #bar
# set context to @home, remove #foo tag, add #bar tag

gtd m 1 @work Hello Galaxy
# set context to @work, update subject

meta

  • @CONTEXT prefix with @ to set context (there can only be one context, if many are supplied, only one will be used)
  • #TAG prefix with # to assign a tag to the todo. many can be used
    • when modifying a todo, -#tag will remove a tag if it exists

About


Languages

Language:Go 100.0%