Crates.io | d-td |
lib.rs | d-td |
version | 1.0.0 |
source | src |
created_at | 2024-01-27 23:10:18.256577 |
updated_at | 2024-02-17 04:06:34.712871 |
description | Exuastive todo list for your cli |
homepage | https://github.com/Owen-Dechow/d-td |
repository | https://github.com/Owen-Dechow/d-td |
max_upload_size | |
id | 1117035 |
size | 36,825 |
An exhaustive todo list cli tool made with rust.
cargo install d-td
Usage: d-td <COMMAND>
Commands:
add Add a new item
delete Delete an item
clear Clear all items from list
toggle Toggle the state of an item
list List all items
move Move item from one position to another
shift Shift an item from one position to another
order-alpha Order list alphabetically
order-date Order list by date
declare Get the path of targeted db
init Initialize new list at current position
destroy Destroy db
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
-V, --version Print version
d-td is use a flat txt file (.todo.db.txt
) to save the its entries. Before initalizing a new db d-td will attempt to find a suitable db in a parent directory, for example: if your current working directory is Users/bob/desktop/pig/icecream/
and there is a d-td db in Users/bob/desktop/
d-td will not create a new db it will instead use the db in Users/bob/desktop/
. Each db entry will have the following information: text
, status
and timecreated
, separated by the following pattern X4<'}/ghB^$M{@ugC=s~
this pattern is calld DB_KEY_VAL_SEPERATOR. Each entry is separated by the pattern DB_ENTRY_SEPERATOR /!>(=]]4>gNdEhXm)he7
. Neither DB_KEY_VAL_SEPERATOR DB_ENTRY_SEPERATOR can be included within an entry.