Skip to content
/ todo Public
forked from naoty/todo

A todo management tool just for myself

License

Notifications You must be signed in to change notification settings

bryanSME/todo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

todo Build Status

Installation

$ go get github.com/naoty/todo

Usage

List

$ todo list
[x] 001: Learn Golang
[ ] 002: Make a todo management tool just for myself
[ ] 003: Publish a blog entry

-m or --markdown flag enables to list TODOs as task lists in markdown.

$ todo list -m
- [x] Learn Golang
- [ ] Make a todo management tool just for myself
- [ ] Publish a blog entry

-u or --undone flag enables to list only undone TODOs.

$ todo list -u
[ ] 002: Make a todo management tool just for myself
[ ] 003: Publish a blog entry

-d or --done flag enables to list only done TODOs.

$ todo list -d
[x] 001: Learn Golang

Add

$ todo add Share the entry on Twitter
$ todo list
[x] 001: Learn Golang
[ ] 002: Make a todo management tool just for myself
[ ] 003: Publish a blog entry
[ ] 004: Share the entry on Twitter

-o or --once flag enables to add a TODO only if it doesn't exist.

$ todo add Share the entry on Twitter
$ todo list
[x] 001: Learn Golang
[ ] 002: Make a todo management tool just for myself
[ ] 003: Publish a blog entry
[ ] 004: Share the entry on Twitter
$ todo add --once Share the entry on Twitter
$ todo list
[x] 001: Learn Golang
[ ] 002: Make a todo management tool just for myself
[ ] 003: Publish a blog entry
[ ] 004: Share the entry on Twitter

Delete

$ todo delete 2 3
$ todo list
[x] 001: Learn Golang

Move

$ todo move 1 2
$ todo list
[ ] 001: Make a todo management tool just for myself
[x] 002: Learn Golang
[ ] 003: Publish a blog entry
[ ] 004: Share the entry on Twitter

Rename

$ todo rename 4 Share the entry on Twitter and Facebook
$ todo list
[x] 001: Learn Golang
[ ] 002: Make a todo management tool just for myself
[ ] 003: Publish a blog entry
[ ] 004: Share the entry on Twitter and Facebook

Done

$ todo done 2 3
$ todo list
[x] 001: Learn Golang
[x] 002: Make a todo management tool just for myself
[x] 003: Publish a blog entry

Undone

$ todo undone 1 2
$ todo list
[ ] 001: Learn Golang
[ ] 002: Make a todo management tool just for myself
[x] 003: Publish a blog entry

Clear done TODOs

$ todo done 2
$ todo clear
$ todo list
[ ] 001: Learn Golang

Configuration

TODO_PATH: Directory where .todo file saved (Default: HOME)

Author

naoty

About

A todo management tool just for myself

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.3%
  • Makefile 0.7%