A simple command-line todo app written in Rust. It supports add a new task, remove a task, mark a task as complete and lists all the tasks.
> .\todo-cli.exe -h
todo-cli 0.1.0
A simple todo app written in Rust
USAGE:
todo-cli.exe [OPTIONS] [SUBCOMMAND]
OPTIONS:
-f, --file <FILE_PATH> Sets a custom config file
-h, --help Print help information
-V, --version Print version information
SUBCOMMANDS:
add Add a new task
done Mark a task as done
help Print this message or the help of the given subcommand(s)
list List all tasks
remove Remove a task
-
Install Rust and clone the repo
git clone https://github.com/ashishlamsal/todo-cli.git
-
In project directory, to add a new task, perform the following:
cargo run -- add "My new task"
This stores todos list in default
.todos.json
file in home directory. -
In order to store todos list in
mytodo.json
file, perform the following:cargo run -- -f mytodo.json add "My new task"
-
For help and to view other options, perform the following:
cargo run -- -h
This project is licensed under the MIT License - see the LICENSE file for details.