Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yutaodou/rtd
Manage your todo in command line with rtd
https://github.com/yutaodou/rtd
Last synced: 7 days ago
JSON representation
Manage your todo in command line with rtd
- Host: GitHub
- URL: https://github.com/yutaodou/rtd
- Owner: yutaodou
- Created: 2020-04-08T16:07:01.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-18T07:55:02.000Z (about 4 years ago)
- Last Synced: 2024-10-31T11:45:48.515Z (13 days ago)
- Language: Rust
- Homepage:
- Size: 176 KB
- Stars: 11
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rtd
Manage your todo in command line with `rtd` (Rust To Do)
[![asciicast](https://asciinema.org/a/327535.svg)](https://asciinema.org/a/327535)
## Install
```
cargo install rtd
```## Data
Data are stored in a sqlite database file locally:
- Linux
- $XDG_DATA_HOME/rtc, or
- $HOME/.local/share/rtd
- Windows
- FOLDERID_RoamingAppData/rtd
- Mac
- $HOME/Library/Application Support/rtd## Features
### Add a todo```bash
// 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 todos
```
# 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
```### Today's priority
```
// Mark a todo as your today's priority
rtd today// Unmark a todo from your today's priority
rtd today --unset
rtd today -u
```### Edit todo
```
rtd edit "new-title" : + @
```### Delete todo
```
rtd delete
```### Mark todo as completed
```
// Mark todo as done
rtd done// Mark todo as not done
rtd done --unset
rtd done -u
```## Licence
Copyright 2020Licensed 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.