#todo #cli

bin+lib todo-cras

Simple cli todo manager, useful as a shell greeting

9 releases

0.1.8 Aug 5, 2022
0.1.7 Jan 31, 2022
0.1.5 Oct 14, 2021

#2150 in Command line utilities

Download history 18/week @ 2023-10-28 1/week @ 2023-11-04 10/week @ 2023-11-11 1/week @ 2023-11-18 11/week @ 2023-11-25 18/week @ 2023-12-02 9/week @ 2023-12-09 10/week @ 2023-12-16 18/week @ 2023-12-23 9/week @ 2024-01-06 4/week @ 2024-01-13 12/week @ 2024-01-20 18/week @ 2024-01-27 22/week @ 2024-02-10

56 downloads per month

GPL-3.0-or-later

32KB
476 lines

todo-cras

Simple cli todo manager, inspired by cras and jonhoo's shell greeting.

It lets you sort tasks by category. Categories have color and probability: the category is shown in the chosen color, and in probability mode with the given probability.

Probability mode (-p) can be used as a shell greeting. For example, if a category's probability is 0.7 and color is cyan then it will be printed in cyan and shown 70% of the time. When invoked without any arguments all tasks are displayed.

Deadlines are to be input as YYYY-MM-DD hh:mm. Tasks whose deadline has passed will have [BACKLOG] appended to them.

alt text

If $TODO_FILE is set then that file is used, otherwise $HOME/todo.txt is used.

Installation:

  • Release
cargo install todo-cras
  • Current
cargo install --git https://git.sr.ht/~p00f/todo-cras

or clone this repo and

cargo build --release

Usage:

todo-cras <no-arguments>: Display all tasks
          -p            : Display tasks according to probability
          -e            : Edit your todo list
          -h            : Display help

Dependencies

~3–14MB
~127K SLoC