Code Monkey home page Code Monkey logo

tod0's Introduction

tod0

A Terminal Client for Microsoft To-Do.

CircleCI Code style: black

Microsoft To Do Command Line Interface

tod0 lets you use Microsoft To Do from the command line.

Installation

Remember to register for an API key before using tod0

Install from PyPI

pip install tod0

Install from source

git clone https://github.com/kiblee/tod0.git
cd tod0
python setup.py install

Commands

For the UI client, run tod0 from anywhere on your terminal.

j       Move selection down
k       Move selection up
l       Select folder and view tasks
h       Go back to folder

n       Create task/folder
c       Mark task as complete

For the CLI client, run todocli from anywhere on your terminal. Usage:

NAME
    todocli - Command line client for Microsoft ToDo 
    
SYNOPSIS
    todocli [options] COMMAND ...  
    
    'COMMAND' can be one of the following values:
        ls                  Display all lists  
        
        lst <list_name>     Display all tasks from list
            list_name       Name of the list
            
        new <task> [-r time]
                            Create a new task
            task            Task to create. See 'Specifying a task' for details.
            -r time         Set a reminder. See 'Specifying time' for details.              
        
        newl <list_name>    Create a new list
            list_name       Name of the list
            
        complete <task>     Set task status to completed
            task            Task to complete. See 'Specifying a task' for details.
           
        rm <task>           Remove a task
            task            Task to remove. See 'Specifying a task' for details.
               
OPTIONS
    -h, --help
        Display a usage message.
    
    -i, --interactive
        Interactive mode. 
        Don't exit after invoking a command, but ask for follow up commands instead.
    
    -n, --display_linenums
        Display a line number for all lines which are output.
        
Specifying a task:
    For commands which take 'task' as a parameter, 'task' can be one of the following:
    
    task_name
    list_name/task_name
    task_number
    list_name/task_number
    
    If 'list_name' is omitted, the default task list will be used. 
    'task_number' is the position displayed when specifying option '-n'. 
   
Specifying time:
    For options which take 'time' as a parameter, 'time' can be one of the following:
    
    {n}h
        Current time + n hours. 
        e.g. 1h, 12h. 
        Max: 99h
        
    morning
        Today at 07:00 AM if current time < 07:00 AM, otherwise tomorrow

    tomorrow
        Tomorrow at 07:00 AM
        
    evening
        Today at 06:00 PM if current time < 06:00 PM, otherwise tomorrow
        
    {hour}:{minute}
        Today at {hour}:{minute} if current time < {hour}:{minute}, otherwise tomorrow 
        e.g. 9:30, 09:30, 17:15
        
    {hour}:{minute} am|pm 
        Today at {hour}:{minute} am|pm  if current time < {hour}:{minute} am|pm, otherwise tomorrow
        e.g. 9:30 am, 12:00 am, 10:15 pm
        
    {day}.{month}. {hour}:{minute}
        The given day at {hour}:{minute}
        e.g. 24.12. 12:00
        e.g. 7.4.   9:15
    
    {day}.{month}.{year}
        The given day at 7:00 am
        e.g. 22.12.2020
        e.g. 01.01.21

Features

  • View folders and tasks
  • Create folders and tasks
  • Mark tasks as complete

tod0's People

Contributors

devzeb avatar kiblee 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.