Skip to content

thekuwayama/todo

Repository files navigation

todo

CI MIT licensed dependency status

todo is a simple todo list command-line tool written in Rust.

Install

You can install todo with the following:

$ cargo install --git https://github.com/thekuwayama/todo.git --branch main

Usage

$ todo help
simple command-line todo list

Usage: todo <COMMAND>

Commands:
  list        show todo list
  clear       clear todo list
  add         add the task
  delete      delete the task
  edit        edit the task description
  done        done the task
  undone      undone the task
  record      record elapsed time
  unrecord    unrecord elapsed time
  show        show the task
  sort        sort tasks
  swap        swap two tasks
  report      report today's achievements
  continue    continue todo list
  uncontinue  uncontinue todo list
  completion  print shell completion
  help        Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help
  -V, --version  Print version

List todo

$ todo list
☐ 000: 朝起きる
☐ 001: 歯を磨く
☐ 002: シャワーを浴びる

Add new todo

$ todo add 散歩する
$ todo list
☐ 000: 朝起きる
☐ 001: 歯を磨く
☐ 002: シャワーを浴びる
☐ 003: 散歩する

Edit todo

$ todo edit 3 お水を一杯飲む
$ todo list
☐ 000: 朝起きる
☐ 001: 歯を磨く
☐ 002: シャワーを浴びる
☐ 003: お水を一杯飲む

Done todo

$ todo done 0
$ todo done 1
$ todo done 2
$ todo list
☑ 000: 朝起きる
☑ 001: 歯を磨く
☑ 002: シャワーを浴びる
☐ 003: お水を一杯飲む

Record elapsed time

$ todo record 0 0.1
$ todo record 1 0.1
$ todo record 2 0.5
$ todo list
☑ 000: 朝起きる (0.1)
☑ 001: 歯を磨く (0.1)
☑ 002: シャワーを浴びる (0.5)
☐ 003: お水を一杯飲む

Report today's achievements

$ todo report
## 2021/06/20 (0.7h)
### 進行中のタスク

### 完了済みのタスク
- 朝起きる (0.1h)
- 歯を磨く (0.1h)
- シャワーを浴びる (0.5h)

### その他、今週対応予定のタスク (金曜日は来週対応予定のタスク)
- お水を一杯飲む

### メモ、ぼやき
$ todo report --lang en
## 2021/06/20 (0.7h)
### Doing tasks

### Done tasks
- 朝起きる (0.1h)
- 歯を磨く (0.1h)
- シャワーを浴びる (0.5h)

### Todo tasks in this week (On Friday, next week scheduled tasks)
- お水を一杯飲む

### Memo & Comments
$ todo report --lang zh
## 2021/06/20 (0.7h)
### 进行中的任务

### 已完成的任务
- 朝起きる (0.1h)
- 歯を磨く (0.1h)
- シャワーを浴びる (0.5h)

### 本周的任务(周五,下周安排的任务)
- お水を一杯飲む

### 备忘

Continue todo list

$ todo continue
$ todo list
☐ 000: お水を一杯飲む

Shell Completion

You can load the file to do the bash completion.

$ echo "eval \"\$(todo completion)\"" >> ~/.bash_profile

Note

todo is inspired by:

License

The CLI is available as open source under the terms of the MIT License.

About

A simple command-line todo list written in Rust.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages