todo

command module
v0.0.0-...-fc0744b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2020 License: MIT Imports: 5 Imported by: 0

README

todo

Installation

$ brew tap naoty/misc
$ brew install todo

Usage

# Add a TODO or a sub-TODO
# Each TODO is saved as a text file at `$TODOS_PATH/<id>.md`.
% todo add Learn Golang
% todo add Write some tool in Golang
% todo add -p 1 Try A tour of Go

# Show TODOs
% todo list
[ ] 001: Learn Golang
  [ ] 003: Try A tour of Go
[ ] 002: Write some tool in Golang

# Open a TODO file with `open` command
% todo open 3

# Mark a TODO as done
% todo done 3
% todo list
[ ] 001: Learn Golang
  [x] 003: Try A tour of Go
[ ] 002: Write some tool in Golang

# Delete a TODO file
% todo delete 2
% todo list
[ ] 001: Learn Golang
  [x] 003: Try A tour of Go

# Archive done TODO files
# This doesn't delete TODO files but hides done TODOs from list
% todo archive
% todo list
[ ] 001: Learn Golang

Environment variables

  • TODOS_PATH: The root path of TODO files (default: $HOME/.todos)

Author

naoty

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL