A tiny CLI todo app in Rust (no external crates). Stores todos in a local text file.
Build:
cargo buildRun:
cargo run -- add "Buy milk"
cargo run -- list
cargo run -- done 1
cargo run -- rm 1
cargo run -- clearBy default it stores items in ./todo.txt.
You can override the storage path:
TODO_FILE=/tmp/my_todos.txt cargo run -- listEach line is:
<id>\t<0|1>\t<text>
Where 0 = not done and 1 = done.