Skip to content

0xcoredev/simple-todo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-simple-todo-app

A tiny CLI todo app in Rust (no external crates). Stores todos in a local text file.

Usage

Build:

cargo build

Run:

cargo run -- add "Buy milk"
cargo run -- list
cargo run -- done 1
cargo run -- rm 1
cargo run -- clear

Storage

By default it stores items in ./todo.txt.

You can override the storage path:

TODO_FILE=/tmp/my_todos.txt cargo run -- list

File format

Each line is:

<id>\t<0|1>\t<text>

Where 0 = not done and 1 = done.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages