GithubHelp home page GithubHelp logo

gtasks's Introduction

Google Tasks CLI Tool

WIP - IN ACTIVE DEVELOPMENT

!!! The readme is just like a TODO list, this will changed a lot

Setup

Needs API setup in the Google Dev Console - then you'll need to download the json file and define it's path in the config (see below)

Config

The configuration json file should be located at $HOME/.gtasksconfig.json or where the command is called ./.gtasksconfig.json

{
  "default_list_id": "DON'T FILL IT",
  "auth": {
    "token_path": "FOLDER/token.json",
    "client_secret_path": "FOLDER/client_secret.json"
  }
}

Functions

  • gt lists: Show the lists you created

  • list functions:

    • gt list: Lists not completed tasks
    • gt list -c: Lists only completed tasks
  • gt add <PROMPT>: Adds a new task with a due date if defined. ~ separates the message from the date.

    • Examples:
      • gt add This is a test task ~ with some notes ~ tomorrow 2PM
      • gt add This is a test task ~ tomorrow 2PM
      • gt add This is a test task
  • gt delete: Delete tasks based on their ids

  • gt comp: Complete tasks based on their ids

  • gt snooze: TODO Update the due date where there was a due date and it is past the current day. Unfortunately we cannot read or modify the time info only the date...

    • Update rule
      • If message contains #prio, then +1 day added. If updated time still outdated, then +1 day added to now
      • By default +2 days added. If updated time still outdated, then +2 days added to now
      • If message contains #noprio, then +5 days are added. If updated time ...
  • General rules of visualization: TODO

    • Tasks are ordered by update date
    • Due date
      • If a task is over it's due date the date field is red
      • If a due date is in the future it'll be blue
      • If not due date, then its the default color

Misc

gtasks's People

Contributors

gaborvecsei avatar

Watchers

 avatar Kostas Georgiou avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.