Giter Club home page Giter Club logo

twodolib's Introduction

twodolib - A commandline helper to add tasks to 2DoApp

Description

This package provides the library twodolib and a command line utility task2do to add tasks, projects and checklists to the macOS App 2DoApp from the command line.

Since version 1.5 (Mac) 2Do supports adding tasks by using an URL scheme. For example, if you want to add the task Save the world., you can open the URL:

twodo://x-callback-url/add?task=Save%20the%20world.

to add this task to your 2Do App (see: https://www.2doapp.com/kb/article/url-schemes.html)

The task2do command supports creating such URLs from the command line. To print such an URL for a task without adding it, just enter:

task2do "Save the world."

which prints the URL to stdout like this:

twodo://x-callback-url/add?task=Save%20the%20world.

If you want to actually add the task to your 2Do App, use the -e or --execute option:

task2do -e "Save the world."
# no output here, but the task should be added into your standard list in 2Do

Features

  • runs with Python 3 (if you need py27 support please use release 0.4.0)
  • Create tasks on the command line and show the corresponding URL scheme, for copy and pasting it.
  • Create tasks on the command line and open the corresponding URL scheme to send it to 2DoApp

See the documentation at http://twodolib.readthedocs.org/en/latest/

Install

See docs/installation.rst (It's just pip install twodolib)

Dependencies

  • wheel

License

  • Free software: ISC license

twodolib's People

Contributors

karstenschulz avatar

Watchers

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