Yaru is a command line tool that manages simple tasks.
The word "yaru(やる)" means "do" in Japanese.
To add a new task, simply run yaru add TASK.
And then, run yaru current to show what to do right now.
$ yaru add "debug ios app"
$ yaru current
debug ios appWhen you have got interrupted by the other task, use a subcommand called "insert". The new task is inserted at head of your task list.
You can see all tasks in your list using subcommand called "all".
$ yaru insert "code review #12345"
$ yaru current
code review #12345
$ yaru all
code review #12345
debug ios appWhen you completed your task, run yaru next to mark current task as completed and start next task.
$ yaru next
$ yaru current
debug ios appUse Mint to install Yaru.
$ mint install hiragram/yaru@main
🌱 Cloning yaru main
🌱 Resolving package
🌱 Building package
🌱 Installed yaru main
🌱 Linked yaru main to /Users/hiragram/.mint/binMake sure Mint's link path is included in PATH.
$ yaru initThis command creates ~/.yaru.yml. Tasks are stored in this file.
Add to ~/.zshrc.
precmd() {
YARU_CURRENT=`yaru current`
PROMPT_YARU_CURRENT="%K{yellow}%F{black}${YARU_CURRENT}%f%k"
RPROMPT="${PROMPT_YARU_CURRENT}"
}then, current task is shown in the right side of terminal.
Yaru is made for my personal use, so its implementation is so rough. PRs are welcome.
MIT