Google Tasks CLI

gtasks: A CLI Tool for Google Tasks

asciicast

Currently available commands

  • Login
  • View Task-List
  • Create Task-List
  • Update Task-List title
  • Delete Task-List
  • View Tasks
  • Create Tasks
  • Edit Task
  • Mark as completed
  • Delete Task

Instructions to install

go get github.com/BRO3886/gtasks

or you can download the binary:

  1. Download the binary for your system (check releases)
  2. Move to a particular folder, for eg Documents
  3. Append the absolute path (use pwd) of the folder to PATH
  4. Execute gtasks from anywhere

Instructions to Run and Build from Source:

  • Pre-requisites
    • Go
  • Directions to install
git clone https://github.com/BRO3886/google-tasks-cli
  • Directions to execute

(if you’re on linux)

make linux 
./bin/linux/gtasks <COMMAND>

(if you’re on windows)

make windows
./bin/windows/gtasks <COMMAND>

Or, you can check out the pre-compiled binaries under Releases

  • Usage
Usage:
  gtasks [command]

Available Commands:
  help        Help about any command
  login       Logging into Google Tasks
  tasklists   View and create tasklists for currently signed-in account
  tasks       View, create, list and delete tasks in a tasklist

Flags:
  -h, --help     help for gtasks
  -t, --toggle   Help message for toggle

Use "gtasks [command] --help" for more information about a command.

Commands

  • To see details about a command
gtasks <COMMAND> help
  • Login
gtasks login
  • Viewing Tasklists
gtasks tasklists view
  • Creating a Tasklist
gtasks tasklists create -t 'title'
gtasks tasklists create --title 'title'
  • Deleting a Tasklist
gtasks tasklists rm
  • Viewing tasks
gtasks tasks view
  • Viewing completed tasks
gtasks tasks view -c true
gtasks tasks view --completed true
  • Adding a task
gtasks tasks add
  • Mark task as completed
gtasks tasks done
  • Deleting a task
gtasks tasks rm
Made with :coffee: & Cobra