4 releases (1 stable)
1.0.0 | Jun 22, 2024 |
---|---|
0.1.3 | Jun 22, 2024 |
0.1.2 | Jun 21, 2024 |
0.1.0 | Jun 21, 2024 |
#587 in Database interfaces
17KB
341 lines
Rust Todo cli app
A simple rust cli tool for managing todos
Implements
sqlite
usingrusqlite
crate
Usage
rust-todos <command> <args>
commands
command | description | example |
---|---|---|
[null] | list current todos | rust-todos |
help | Display help menu | rust-todos help |
add | Add a todo | rust-todos add do laundry |
done | Complete todos by index. (get index by running rust-todos ) |
rust-todos done 1 5 |
clear | Clear all todos | rust-todos clear |
options
option | description | example |
---|---|---|
--fill | fill the db with fake todos | rust-todos --fill |
run app
cargo
cargo run help
docker
# build image
docker build -t aidanwallace/rust-todos .
# run image
docker run --rm -it -v ./data:/data aidanwallace/rust-todos help
Dependencies
~26–35MB
~570K SLoC