Metadata-Version: 2.1
Name: taskstodo
Version: 0.0.3
Summary: Manage Google Tasks from the command-line and sync tasks with other apps.
Author: Stephan T
Project-URL: Homepage, https://github.com/stephan-t/taskstodo
Project-URL: Bug Tracker, https://github.com/stephan-t/taskstodo/issues
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: POSIX :: Linux
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE

# taskstodo

taskstodo is a command-line application for managing Google Tasks, allowing you to view, create, update and delete task lists and their associated tasks. taskstodo can also perform a two-way sync between Google Tasks and [calcurse](https://calcurse.org/).

# Installation

```
pip install taskstodo
```

# Configuration

- Create new Google Cloud [project](https://console.cloud.google.com/projectcreate)
- Enable [Tasks API](https://console.cloud.google.com/apis/library/tasks.googleapis.com)
- Create new OAuth 2.0 client ID [credentials](https://console.cloud.google.com/apis/credentials)
- Download JSON file of credentials
- Copy file to `~/.config/taskstodo/credentials.json`
- Configure [OAuth consent screen](https://console.cloud.google.com/apis/credentials/consent) as an external user type

# Usage

Create task list:

```
taskstodo list -c <list_title>
```

Create task:

```
taskstodo task -c <task_title> [-n <note>] <list_title>
```

Show task lists:

```
taskstodo show-lists
```

Show tasks:

```
taskstodo tasks <list_title>
```

Sync calcurse and Google Tasks:

```
taskstodo sync-calcurse <list_title>
```

Show help:

```
taskstodo -h
```
