Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/y-yagi/gtodo
https://github.com/y-yagi/gtodo
Last synced: 20 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/y-yagi/gtodo
- Owner: y-yagi
- License: mit
- Created: 2018-09-21T04:18:11.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-30T20:33:07.000Z (about 2 months ago)
- Last Synced: 2024-10-10T04:03:18.327Z (about 1 month ago)
- Language: Go
- Size: 501 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# gtodo
`gotod` is a simple CLI tool for Google ToDo.
[![asciicast](https://asciinema.org/a/1PYigUpJoy1kW734r2EMOPTfE.png)](https://asciinema.org/a/1PYigUpJoy1kW734r2EMOPTfE)
## Installation
Use `go get` to install this package:
```bash
$ go get github.com/y-yagi/gtodo/cmd/gtodo
```## Usage
### Setup
Need credentials file to use Google API. Please refer to [Tasks API](https://developers.google.com/tasks/quickstart/go) and downloads credentials file for Google Tasks API.
The credentials file path can specify via `CREDENTIALS` env. If not specified `CREDENTIALS` env, `gtodo` try to read `.credentials.json` under the home directory.
### Help
```
$ gtodo help
NAME:
gtodo - CLI for Google ToDoUSAGE:
gtodo [global options] command [command options] [arguments...]VERSION:
0.1.0COMMANDS:
add, a add a new todo
complete, c complete a todo
delete, d delete a todo
update, u update a todo
tasklist action for tasklist
help, h Shows a list of commands or help for one commandGLOBAL OPTIONS:
--help, -h show help
--version, -v print the version$ gtodo tasklist help
NAME:
gtodo tasklist - action for tasklistUSAGE:
gtodo tasklist [global options] command [command options] [arguments...]VERSION:
0.1.0COMMANDS:
add add a new tasklist
delete delete a tasklistGLOBAL OPTIONS:
--help, -h show help
```