Crates.io | rust-todos |
lib.rs | rust-todos |
version | 1.0.0 |
source | src |
created_at | 2024-06-21 00:43:29.113198 |
updated_at | 2024-06-22 03:16:16.966936 |
description | A simple rust cli tool for managing todos |
homepage | https://github.com/aidan-wallace/rust-todos |
repository | https://github.com/aidan-wallace/rust-todos |
max_upload_size | |
id | 1278946 |
size | 49,952 |
A simple rust cli tool for managing todos
sqlite
using rusqlite
craterust-todos <command> <args>
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 |
option | description | example |
---|---|---|
--fill | fill the db with fake todos | rust-todos --fill |
cargo run help
# build image
docker build -t aidanwallace/rust-todos .
# run image
docker run --rm -it -v ./data:/data aidanwallace/rust-todos help