Manage your todo in command line with rtd
(Rust To Do)
cargo install rtd
Data are stored in a sqlite database file locally:
// Add a new to-do to inbox as low priority, which dues at 24th Apr 2020
rtd add "This is a todo" :inbox +low @2020-04-24
// Add a new to-do and mark it as today's priority
rtd add "This is another to-do" --today :inbox +high
Supported Priority
high
/ h
low
/ l
medium
/ m
Supported due date format
2020-04-01
20200401
today
/ tomorrow
Monday
/ Tuesday
/ Wed
...Mon
/ Tues
/ Thur
# List all todo not done yet
rtd list
# List completed todo
rtd list --done
rtd list -d
# List all
rtd list --all
rtd list -a
# List all todo from a specific list
rtd list inbox
// Mark a todo as your today's priority
rtd today <todo-id>
// Unmark a todo from your today's priority
rtd today --unset <todo-id>
rtd today -u <todo-id>
rtd edit <todo-id> "new-title" :<new-list> +<priority> @<due-date>
rtd delete <todo-id> <todo-id> <todo-id>
// Mark todo as done
rtd done <todo-id>
// Mark todo as not done
rtd done --unset <todo-id>
rtd done -u <todo-id>
Copyright 2020
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.