Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yutaodou/rtd

Manage your todo in command line with rtd
https://github.com/yutaodou/rtd

Last synced: about 2 months ago
JSON representation

Manage your todo in command line with rtd

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 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.